booksim2/src/networks/network.cpp
void Network::Display( ostream & os ) const
{
  for ( int r = 0; r < _size; ++r ) {
    _routers[r]->Display( os );
  }
}
/* this function can be heavily modified to display any information
 * neceesary of the network, by default, call display on each router
 * and display the channel utilization rate
 */
this function can be heavily modified to display any information
neceesary of the network, by default, call display on each router
and display the channel utilization rate
this function can be heavily modified to display any information neceesary of the network by default call display on each router and display the channel utilization rate
void Network::Display( ostream & os ) const
{
  for ( int r = 0; r < _size; ++r ) {
    _routers[r]->Display( os );
  }
}
void Network :: Display ( ostream & os ) const { for ( int r = 0 ; r < _size ; ++ r ) { _routers [ r ] -> Display ( os ) ; } }
this function can be heavily modified to display any information
 neceesary of the network, by default, call display on each router
 and display the channel utilization rate
this function can be heavily modified to display any information neceesary of the network by default call display on each router and display the channel utilization rate