#include <visual.h>
Public Member Functions | |
Visual () | |
Visual (Topology *, int nodes, int links, int grid_size) | |
~Visual () | |
void | create_new_connections () |
void | create_graphml () |
Public Attributes | |
vector< link_connection * > | new_east_links |
vector< link_connection * > | new_west_links |
vector< link_connection * > | new_north_links |
vector< link_connection * > | new_south_links |
Private Attributes | |
Topology * | topo_ptr |
unsigned int | nodes |
unsigned int | links |
unsigned int | grid_size |
link_connection ** | link_ptr |
Definition at line 39 of file visual.h.
Visual::Visual | ( | Topology * | topo, | |
int | nodes, | |||
int | links, | |||
int | grid_size | |||
) |
void Visual::create_graphml | ( | ) |
Definition at line 138 of file visual.cc.
References concentration, grid_size, mc_positions, new_east_links, new_north_links, new_south_links, new_west_links, no_of_cores, and nodes.
void Visual::create_new_connections | ( | ) |
Definition at line 53 of file visual.cc.
References link_connection::destination, Topology::east_links, link_connection::link_id, link_ptr, new_east_links, new_west_links, Topology::north_links, link_connection::source, Topology::south_links, topo_ptr, and Topology::west_links.
unsigned int Visual::grid_size [private] |
link_connection** Visual::link_ptr [private] |
Definition at line 57 of file visual.h.
Referenced by create_new_connections(), Visual(), and ~Visual().
unsigned int Visual::links [private] |
vector< link_connection* > Visual::new_east_links |
Definition at line 47 of file visual.h.
Referenced by create_graphml(), and create_new_connections().
vector< link_connection* > Visual::new_north_links |
vector< link_connection* > Visual::new_south_links |
vector< link_connection* > Visual::new_west_links |
Definition at line 48 of file visual.h.
Referenced by create_graphml(), and create_new_connections().
unsigned int Visual::nodes [private] |
Topology* Visual::topo_ptr [private] |