65,71c65,70
< }
<
< void SimpleNetwork::init()
< {
<
< Network::init();
<
---
> //
> // Note: the parent Network Object constructor is called before the
> // SimpleNetwork child constructor. Therefore, the member variables
> // used below should already be initialized.
> //
>
93a93
> }
95,97c95,104
< // Setup the network switches
< // m_topology_ptr = new Topology(this, m_nodes);
< m_topology_ptr->makeTopology();
---
> void SimpleNetwork::init()
> {
>
> Network::init();
>
> //
> // The topology pointer should have already been initialized in the parent
> // class network constructor.
> //
> assert(m_topology_ptr != NULL);