question: protected void removeCycles ( ) { int visited [ ] = new int [ m_nodes . size ( ) ] ; for ( int i = 0 ; i < graphMatrix . length ; i ++ ) { if ( visited [ i ] == 0 ) { removeCycles2 ( i , visited ) ; visited [ i ] = 1 ; } } }
target:  The following two methods remove cycles from the graph.