[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[freehaven-cvs] Arg. Fix bug in background volume.
Update of /home/freehaven/cvsroot/doc/e2e-traffic/src
In directory moria.mit.edu:/tmp/cvs-serv3277
Modified Files:
simmain.cpp
Log Message:
Arg. Fix bug in background volume.
Index: simmain.cpp
===================================================================
RCS file: /home/freehaven/cvsroot/doc/e2e-traffic/src/simmain.cpp,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -d -r1.43 -r1.44
--- simmain.cpp 13 Sep 2004 18:37:38 -0000 1.43
+++ simmain.cpp 13 Sep 2004 18:47:46 -0000 1.44
@@ -1516,7 +1516,7 @@
void trialnym_base(int nR, int pL, double pD, double pA)
{
NymTrialSpec s;
- double bgvol = 1.0/(1.0-pA);
+ double bgvol = nR * (1.0/(1.0-pA));
s.setNRecipients(nR).setPathLen(pL).setPDelay(pD)
.setPartial(false).setPObserve(1.0)
.setPMsgAlice(pA).setBGVolMean(bgvol).setBGVolDev(bgvol/10.0);
***********************************************************************
To unsubscribe, send an e-mail to majordomo@seul.org with
unsubscribe freehaven-cvs in the body. http://freehaven.net/