public static final java.lang.String |
CLOTHING_GRAPH_BFS |
"initNode(belt)\ninitNode(jacket)\ninitNode(pants)\ninitNode(shirt)\ninitNode(shoes)\ninitNode(socks)\ninitNode(tie)\ninitNode(undershorts)\ninitNode(watch)\ndiscoverRoot(belt) {\n*discoverNode(belt,0)\n-treeEdge(belt,jacket)\n*finishNode(belt,0)\n *discoverNode(jacket,1)\n *finishNode(jacket,1)\n} finishRoot(belt)\ndiscoverRoot(pants) {\n*discoverNode(pants,0)\n-treeEdge(pants,shoes)\n-nonTreeEdge(pants,belt)\n*finishNode(pants,0)\n *discoverNode(shoes,1)\n *finishNode(shoes,1)\n} finishRoot(pants)\ndiscoverRoot(shirt) {\n*discoverNode(shirt,0)\n-treeEdge(shirt,tie)\n-nonTreeEdge(shirt,belt)\n*finishNode(shirt,0)\n *discoverNode(tie,1)\n -nonTreeEdge(tie,jacket)\n *finishNode(tie,1)\n} finishRoot(shirt)\ndiscoverRoot(socks) {\n*discoverNode(socks,0)\n-nonTreeEdge(socks,shoes)\n*finishNode(socks,0)\n} finishRoot(socks)\ndiscoverRoot(undershorts) {\n*discoverNode(undershorts,0)\n-nonTreeEdge(undershorts,pants)\n-nonTreeEdge(undershorts,shoes)\n*finishNode(undershorts,0)\n} finishRoot(undershorts)\ndiscoverRoot(watch) {\n*discoverNode(watch,0)\n*finishNode(watch,0)\n} finishRoot(watch)\n" |
public static final java.lang.String |
RSTUVWXY_GRAPH_BFS |
"initNode(s)\ninitNode(r)\ninitNode(t)\ninitNode(u)\ninitNode(v)\ninitNode(w)\ninitNode(x)\ninitNode(y)\ndiscoverRoot(s) {\n*discoverNode(s,0)\n-treeEdge(s,w)\n-treeEdge(s,r)\n*finishNode(s,0)\n *discoverNode(w,1)\n *discoverNode(r,1)\n -treeEdge(w,t)\n -treeEdge(w,x)\n -nonTreeEdge(w,s)\n *finishNode(w,1)\n -nonTreeEdge(r,s)\n -treeEdge(r,v)\n *finishNode(r,1)\n *discoverNode(t,2)\n *discoverNode(x,2)\n *discoverNode(v,2)\n -nonTreeEdge(t,x)\n -nonTreeEdge(t,w)\n -treeEdge(t,u)\n *finishNode(t,2)\n -nonTreeEdge(x,w)\n -nonTreeEdge(x,t)\n -nonTreeEdge(x,u)\n -treeEdge(x,y)\n *finishNode(x,2)\n -nonTreeEdge(v,r)\n *finishNode(v,2)\n *discoverNode(u,3)\n *discoverNode(y,3)\n -nonTreeEdge(u,t)\n -nonTreeEdge(u,x)\n -nonTreeEdge(u,y)\n *finishNode(u,3)\n -nonTreeEdge(y,u)\n -nonTreeEdge(y,x)\n *finishNode(y,3)\n} finishRoot(s)\n" |