CPM: A software tool for Communication Performance Modelling
H_Model< p2p_model > Class Template Reference
Public Member Functions | |
void | read_hierarchy_file (istream &is) |
Detailed Description
template<class p2p_model>
class H_Model< p2p_model >
Hierarchical model
- Template Parameters:
-
p2p_model a class of P2P model implementing the following functions (on the example of hockney_p2p_model):
Member Function Documentation
template<class p2p_model>
void H_Model< p2p_model >::read_hierarchy_file | ( | istream & | is | ) | [inline] |
Reads the hierarchy file in the followin format:
digraph G { 12 [type=0,model_data="csicluster01"]; 2 [type=0, model_data="csicluster02"]; 5 [type=0, model_data="csicluster03"]; 6 [type=0, model_data="csicluster04"]; 3 [type=1, model_data=""]; 4 [type=1, model_data=""]; 13 [type=1, model_data=""]; 7 [type=1, model_data=""]; 8 [type=1, model_data=""]; 9 [type=1, model_data=""]; 10 [type=1, model_data=""]; 5->7; 6->8; 4->10; 9->10; 7->9 ; 8->9; 12->13 ; 2->3 ; 13->4; 3->4 }
The documentation for this class was generated from the following file:
- models/hierarchical/hierarchical_model.hpp