Lines Matching refs:nodes
10 g.nodes.resize(2); in simpleGraph()
12 g.nodes[0].data = 10; in simpleGraph()
13 g.nodes[1].data = 20; in simpleGraph()
14 g.edges[0].left = &g.nodes[0]; in simpleGraph()
15 g.edges[0].right = &g.nodes[1]; in simpleGraph()
19 if(g.nodes.size() != 2) return false; in isSimpleGraph()
21 if(g.nodes[0].data != 10) return false; in isSimpleGraph()
22 if(g.nodes[1].data != 20) return false; in isSimpleGraph()
23 if(g.edges[0].left != &g.nodes[0]) return false; in isSimpleGraph()
24 if(g.edges[0].right != &g.nodes[1]) return false; in isSimpleGraph()
29 ALOGI("%s Graph %p, %d nodes, %d edges", prefix, &g, (int)g.nodes.size(), (int)g.edges.size()); in logSimpleGraph()
31 for(size_t i = 0; i < g.nodes.size(); i++) in logSimpleGraph()
32 os << &g.nodes[i] << " = " << g.nodes[i].data << ", "; in logSimpleGraph()