#include <topology.h>
Public Member Functions | |
LBTopology (int p) | |
virtual | ~LBTopology () |
virtual int | max_neighbors ()=0 |
virtual void | neighbors (int mype, int *_n, int &nb)=0 |
virtual int | get_dimension () |
virtual bool | get_processor_coordinates (int processor_id, int *processor_coordinates) |
virtual bool | get_processor_id (const int *processor_coordinates, int *processor_id) |
virtual bool | coordinate_difference (const int *my_coordinates, const int *target_coordinates, int *difference) |
virtual bool | coordinate_difference (int my_processor_id, int target_processor_id, int *difference) |
virtual int | get_hop_count (int src, int dest) |
virtual int | rec_hop_count (int src, int dest, int max_neigh, int count, int *visited_srcs, int min_hop_cnt) |
virtual double | per_hop_delay (int last_hop) |
virtual void | get_pairwise_hop_count (double **dist) |
Protected Attributes | |
int | npes |
Definition at line 15 of file topology.h.
int LBTopology::npes [protected] |
Definition at line 17 of file topology.h.
Referenced by LBTopo_torus2d::get_hop_count(), LBTopo_ring::get_hop_count(), get_hop_count(), get_pairwise_hop_count(), LBTopo_torus_nd< dimension >::GetNeighborID(), LBTOPO_MACRO(), LBTopo_smp_n< ppn >::max_neighbors(), LBTopo_ring::neighbors(), and LBTopo_smp_n< ppn >::neighbors().