//************************************************************* // returns number of proper dummies int SimDraw::numberOfProperDummyNodes() const { int counter = 0; for(node v : m_G.nodes) if(isProperDummy(v)) counter++; return counter; } // end numberOfNonProperDummyNodes
//************************************************************* // returns number of proper dummies int SimDraw::numberOfProperDummyNodes() const { int counter = 0; node v; forall_nodes(v, m_G) if(isProperDummy(v)) counter++; return counter; } // end numberOfNonProperDummyNodes