void FlowClusteringEPG::_display() const { if(!optflow_otl_->pull().prev_pcd_indices_) return; displayEdges(optflow_otl_->pull().img_); }
/* * displays every edge and the associated vertices starting at head */ void displayEdges(edgeSet * head) { if(head!=NULL) { displayEdge(head); displayEdges(head->nextEdge); } }
/* * displays the edges and vertices of a hyper graph */ void displayHyperGraph(hypergraph * h, char * name) { if(h!=NULL) { printf("EdgeSets of %s:\n", name); displayEdges(h->edgeSets); printf("-----------------------------------\n"); printf("VertexSets of %s:\n", name); displayVertices(h->vertexSets); printf("-----------------------------------\n"); printf("Number of edges of %s: %d Number of vertices of %s: %d\n", name, numEdges(h->edgeSets), name, numVertices(h->vertexSets)); printf("===================================\n"); } else printf("NULL GRAPH\n"); }
/* Description: Display all edges of MST in std-out. * Input: NA * Output: NA. */ void Kruskal::displaySpanningTree() { displayEdges(minimumSpanningTree); }
/* Description: Display all edges of graph in std-out. * Input: NA * Output: NA. */ void Kruskal::displayEdges() { displayEdges(edgeSet); }