protected void processGraph(){
  origNodesSize=m_nodes.size();
  graphMatrix=new int[m_nodes.size()][m_nodes.size()];
  for (int i=0; i < m_edges.size(); i++) {
    graphMatrix[m_edges.get(i).src][m_edges.get(i).dest]=m_edges.get(i).type;
  }
}

protected void processGraph ( ) { origNodesSize = m_nodes . size ( ) ; graphMatrix = new int [ m_nodes . size ( ) ] [ m_nodes . size ( ) ] ; for ( int i = 0 ; i < m_edges . size ( ) ; i ++ ) { graphMatrix [ m_edges . get ( i ) . src ] [ m_edges . get ( i ) . dest ] = m_edges . get ( i ) . type ; } }
this method makes the " graphmatrix " interconnection matrix for the graph given by m_nodes and m_edges vectors . the matix is used by other methods .
