Mercurial > hg > Database > Christie
changeset 227:371c8492753e
add dot file
author | ichikitakahiro <e165713@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 27 Dec 2019 18:12:33 +0900 |
parents | 218ad6b9ba87 |
children | eb786b5d4628 |
files | scripts/Log/manToMan.dot src/test/java/christie/example/HelloWorld/HelloWorldCodeGear.java src/test/java/christie/example/PrefixTree/StartPrefixTree.java src/test/java/christie/example/PrefixTree/sendOrDisplay.java |
diffstat | 4 files changed, 8 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/scripts/Log/manToMan.dot Fri Dec 27 18:12:33 2019 +0900 @@ -0,0 +1,4 @@ +digraph test { + node0 -> node1 [label="opponent"] + node1 -> node0 [label="opponent"] +}
--- a/src/test/java/christie/example/HelloWorld/HelloWorldCodeGear.java Fri Dec 27 17:33:16 2019 +0900 +++ b/src/test/java/christie/example/HelloWorld/HelloWorldCodeGear.java Fri Dec 27 18:12:33 2019 +0900 @@ -1,5 +1,6 @@ package christie.example.HelloWorld; +import christie.annotation.Peek; import christie.annotation.Take; import christie.codegear.CodeGear; import christie.codegear.CodeGearManager; @@ -14,4 +15,4 @@ System.out.print(helloWorld + " "); cgm.setup(new HelloWorldCodeGear()); } -} +} \ No newline at end of file
--- a/src/test/java/christie/example/PrefixTree/StartPrefixTree.java Fri Dec 27 17:33:16 2019 +0900 +++ b/src/test/java/christie/example/PrefixTree/StartPrefixTree.java Fri Dec 27 18:12:33 2019 +0900 @@ -17,7 +17,7 @@ public static void main(String[] args) { int topologyManagerPort = 10000; int topologyNodePort = 10001; - int nodeNum = 10; + int nodeNum = 8; String[] managerArg = {"--localPort", String.valueOf(topologyManagerPort), "--Topology", "tree"}; TopologyManagerConfig topologyManagerConfig = new TopologyManagerConfig(managerArg); new StartTopologyManager(topologyManagerConfig);
--- a/src/test/java/christie/example/PrefixTree/sendOrDisplay.java Fri Dec 27 17:33:16 2019 +0900 +++ b/src/test/java/christie/example/PrefixTree/sendOrDisplay.java Fri Dec 27 18:12:33 2019 +0900 @@ -24,8 +24,7 @@ put("parent", "pushedNum", num); }else{ System.out.println("total:" + num); - - getDGM(topologyNodeConfig.getManagerKey()).put("FINISHMESSAGE", new Message()); + getDGM(topologyNodeConfig.getManagerKey()).put("FINISHMESSAGE", new Message()); } } }