void CoincidentSideExtractor::extract_coincident_sides_for_element(LocalId elemId, SparseGraph& extractedCoincidentSides, const CoincidenceDetector &detector) { GraphEdgeVector coincidentSides; extract_coincident_sides_for_element(elemId, coincidentSides, detector); add_edges(coincidentSides, extractedCoincidentSides); delete_edges(coincidentSides); //detector.report_coincident_sides(std::cerr, coincidentSides); }
void xed_dot_graph_deallocate(xed_dot_graph_t* g) { delete_nodes(g); delete_edges(g); free(g); }