34 char nodeName[2] = {
'a', 0};
35 for (
int x = 0; x < numExampleNodes; x++)
37 n =
new node(nodeName);
51 unsigned int last = 1;
52 for (
int x = 0; x < numExampleNodes; x++)
54 n =
new node(nodeName);
58 if (x == numExampleNodes-1)
74 char nodeName[2] = {
'a', 0};
75 nodeName[0]+=numExampleNodes-1;
76 for (
int x = 0; x <= numExampleNodes; x++)
95 double val = 1.5*
PI*x/(numExampleNodes+1.0)-
PI/4;
101 g->
AddEdge(
new edge(1,0,(1<<(numExampleNodes-1)) + numExampleNodes - 2));
102 for (
int x = 1; x <= numExampleNodes; x++)
104 for (
int y = x+1; y <= numExampleNodes; y++)
106 g->
AddEdge(
new edge(y, x, (1<<(y-2)) + y - (1<<(x-1)) - x));
135 char nodeName[3] = {
't',
'0', 0};
136 for (
int x = 0; x < numExampleNodes; x++)
138 n =
new node(nodeName);
150 for (
int x = 0; x < numExampleNodes; x++)
152 n =
new node(nodeName);