From: jjenista Date: Wed, 23 Mar 2011 00:34:25 +0000 (+0000) Subject: a bug, fix it later X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=64e4255f922bd0c7d675fd7837aec603ad76c79f;p=IRC.git a bug, fix it later --- diff --git a/Robust/src/Tests/disjoint/cc-paper-example/test.java b/Robust/src/Tests/disjoint/cc-paper-example/test.java index ce6644c6..f81af20e 100644 --- a/Robust/src/Tests/disjoint/cc-paper-example/test.java +++ b/Robust/src/Tests/disjoint/cc-paper-example/test.java @@ -19,13 +19,35 @@ public class Test { } static public void main( String[] args ) { - Graph g = disjoint G new Graph(); - Node u = nodeFactory(); - Node v = nodeFactory(); - Config c = disjoint C new Config(); - - g.n = u; - u.n = v; u.c = c; - v.n = u; v.c = c; + //Graph[] a = new Graph[3]; + + for( int i = 0; i < 3; ++i ) { + Graph g = disjoint G new Graph(); + + Node u = nodeFactory(); + Node v = nodeFactory(); + + //Node u = disjoint U new Node(); + //Node v = disjoint V new Node(); + + //Node u=null; + // Node v=null; + // do { + // u = v; + // v = disjoint N new Node(); + // } while(false); + + genreach p0; + + Config c = disjoint C new Config(); + + g.n = u; + u.n = v; u.c = c; + v.n = u; v.c = c; + + //a[i] = g; + } + + //System.out.println( a ); } }