#include "pp.h" void Cd_graph::markincedge( int from,int to ) { DEM_TRACE("Cd_graph","void Cd_graph::markincedge(int from,int to)"); // prefix class wrappers matrix->markincedge(from, to); // suffix class wrappers } void SCC_component_List::markincedge( int from,int to ) { DEM_TRACE("SCC_component_List","void SCC_component_List::markincedge(int from,int to)"); // prefix class wrappers SCC_component_list_iterator next(*this); SCC_component* each; while (each = next()) { if (from == each->get_scc()->get_val()) { each->markcomponent(); each->markincedge(to); } else if (to == each->get_scc()->get_val()) each->markcomponent(); } // suffix class wrappers } void SCC_component::markincedge( int to ) { DEM_TRACE("SCC_component","void SCC_component::markincedge(int to)"); // prefix class wrappers edges->markincedge(to); // suffix class wrappers } void SCC_component_Edges_List::markincedge( int to ) { DEM_TRACE("SCC_component_Edges_List","void SCC_component_Edges_List::markincedge(int to)"); // prefix class wrappers SCC_component_Edges_list_iterator next(*this); SCC_component_Edges* each; while ( each = next()) if (each->get_scc()->get_val()==to) { each->markedge(); break; } // suffix class wrappers }