[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[freehaven-cvs] There"s nothing sadder than an unreferenced object i...
Update of /home/freehaven/cvsroot/doc/e2e-traffic/src
In directory moria.mit.edu:/tmp/cvs-serv900
Modified Files:
simmain.cpp
Log Message:
There's nothing sadder than an unreferenced object in a non-garbage-collected
language. It's like a lost puppy.
Index: simmain.cpp
===================================================================
RCS file: /home/freehaven/cvsroot/doc/e2e-traffic/src/simmain.cpp,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- simmain.cpp 19 Jan 2004 01:00:13 -0000 1.24
+++ simmain.cpp 19 Jan 2004 06:20:08 -0000 1.25
@@ -143,7 +143,7 @@
s.setNRecipients(nRecips);
s.setAliceRecipients(nAR);
s.setBatchSize(batchSize);
- s.setCutoff(5000);
+ s.setCutoff(10000);
s.setGranularity(5);
int nBad = 0;
int nGood = 0;
@@ -319,6 +319,12 @@
}
}
+void trial2u_1()
+{
+
+
+}
+
void trial3()
{
// attack with small-worlds network and unknown background.
@@ -700,7 +706,7 @@
.setPObserve(1.0)
.setPDummy(0.0);
- s.setGranularity(50);
+ s.setGranularity(10);
s.setCutoff(1500000);
int nBad = 0;
@@ -721,6 +727,30 @@
}
}
+void trial5b_1()
+{
+ for(int i=1; i<=9; i+=2) {
+ trial5b_base(.6, .1, 2, i/10.0);
+ }
+}
+void trial5b_2()
+{
+ for(int i=1; i<=9; i+=2) {
+ trial5b_base(.6, .6, 2, i/10.0);
+ }
+}
+void trial5b_3()
+{
+ for(int i=1; i<=9; i+=2) {
+ trial5b_base(.6, .1, 5, i/10.0);
+ }
+}
+void trial5b_4()
+{
+ for(int i=1; i<=9; i+=2) {
+ trial5b_base(.6, .6, 5, i/10.0);
+ }
+}
void trial6_base(double pDelay, double pObserve)
{
@@ -866,6 +896,11 @@
{ "4r.5", trial4r_5 },
{ "4r.6", trial4r_6 },
+ { "5b.1", trial5b_1 },
+ { "5b.2", trial5b_2 },
+ { "5b.3", trial5b_3 },
+ { "5b.4", trial5b_4 },
+
{ "6.1", trial6_1 },
{ "6.2", trial6_2 },
{ "6.3", trial6_3 },
***********************************************************************
To unsubscribe, send an e-mail to majordomo@seul.org with
unsubscribe freehaven-cvs in the body. http://freehaven.net/