RINASim  October 2016
Documentation of framework for OMNeT++
common_GraphCL::GraphCL< T > Class Template Reference

#include <GraphCL.h>

Classes

struct  TNode
 

Public Member Functions

void addNode (const string &n, const vector< Link< T > > &ls)
 
void addLink (const string &n, const Link< T > &l)
 
map< string, nhLMetric< T > > getNextHops (const string &root, const T &infMetric)
 
void print (const string &root, const T &infMetric)
 

Protected Member Functions

void computeMinG (const T &infMetric, const string &root)
 
void recursiveLook (map< string, nhLMetric< T > > &ret, const string &node, const string &src)
 
void printRecursive (const string &node, const int &index)
 

Protected Attributes

map< string, vector< Link< T > > > links
 
map< string, TNodenodes
 

Detailed Description

template<class T>
class common_GraphCL::GraphCL< T >

Definition at line 25 of file GraphCL.h.

Member Function Documentation

template<class T>
void common_GraphCL::GraphCL< T >::addLink ( const string &  n,
const Link< T > &  l 
)
inline
template<class T>
void common_GraphCL::GraphCL< T >::addNode ( const string &  n,
const vector< Link< T > > &  ls 
)
inline

Definition at line 42 of file GraphCL.h.

template<class T>
void common_GraphCL::GraphCL< T >::computeMinG ( const T &  infMetric,
const string &  root 
)
inlineprotected

Definition at line 88 of file GraphCL.h.

template<class T>
map<string, nhLMetric<T> > common_GraphCL::GraphCL< T >::getNextHops ( const string &  root,
const T &  infMetric 
)
inline
template<class T>
void common_GraphCL::GraphCL< T >::print ( const string &  root,
const T &  infMetric 
)
inline

Definition at line 64 of file GraphCL.h.

Referenced by common_LSModule::LS_Module< T >::print().

template<class T>
void common_GraphCL::GraphCL< T >::printRecursive ( const string &  node,
const int &  index 
)
inlineprotected

Definition at line 152 of file GraphCL.h.

template<class T>
void common_GraphCL::GraphCL< T >::recursiveLook ( map< string, nhLMetric< T > > &  ret,
const string &  node,
const string &  src 
)
inlineprotected

Definition at line 144 of file GraphCL.h.

Member Data Documentation

template<class T>
map<string, vector<Link<T> > > common_GraphCL::GraphCL< T >::links
protected

Definition at line 38 of file GraphCL.h.

template<class T>
map<string, TNode > common_GraphCL::GraphCL< T >::nodes
protected

Definition at line 39 of file GraphCL.h.


The documentation for this class was generated from the following file: