Lines Matching refs:graph
38 uint64_t EdgeWeight(const Graph& graph, const Edge& edge) { in EdgeWeight() argument
41 graph[edge.first].out_edges.find(edge.second)->second.extents; in EdgeWeight()
95 void DropIncomingEdgesTo(Graph* graph, Vertex::Index index) { in DropIncomingEdgesTo() argument
98 for (Graph::iterator it = graph->begin(), e = graph->end(); it != e; ++it) { in DropIncomingEdgesTo()
124 void DumpGraph(const Graph& graph) { in DumpGraph() argument
125 LOG(INFO) << "Graph length: " << graph.size(); in DumpGraph()
126 for (Graph::size_type i = 0, e = graph.size(); i != e; ++i) { in DumpGraph()
128 << (graph[i].valid ? "" : "-INV") in DumpGraph()
129 << ": " << graph[i].aop.name in DumpGraph()
130 << ": " << InstallOperationTypeName(graph[i].aop.op.type()); in DumpGraph()
132 DumpExtents(graph[i].aop.op.src_extents(), 4); in DumpGraph()
134 DumpExtents(graph[i].aop.op.dst_extents(), 4); in DumpGraph()
136 DumpOutEdges(graph[i].out_edges); in DumpGraph()