From 64e4255f922bd0c7d675fd7837aec603ad76c79f Mon Sep 17 00:00:00 2001 From: jjenista Date: Wed, 23 Mar 2011 00:34:25 +0000 Subject: [PATCH] a bug, fix it later --- .../Tests/disjoint/cc-paper-example/test.java | 38 +++++++++++++++---- 1 file changed, 30 insertions(+), 8 deletions(-) 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 ); } } -- 2.34.1