SimGrid  3.13
Versatile Simulation of Distributed Systems
simgrid::surf::AsRoutedGraph Class Reference

#include <AsRoutedGraph.hpp>

Inheritance diagram for simgrid::surf::AsRoutedGraph:
simgrid::surf::AsImpl simgrid::surf::AsDijkstra simgrid::surf::AsFloyd simgrid::surf::AsFull

Public Member Functions

 AsRoutedGraph (const char *name)
 
 ~AsRoutedGraph ()
 
xbt_dynar_t getOneLinkRoutes () override
 retrieves the list of all routes of size 1 (of type src x dst x Link) More...
 
virtual void getGraph (xbt_graph_t graph, xbt_dict_t nodes, xbt_dict_t edges) override
 
virtual sg_platf_route_cbarg_t newExtendedRoute (RoutingMode hierarchy, sg_platf_route_cbarg_t routearg, int change_order)
 
- Public Member Functions inherited from simgrid::surf::AsImpl
virtual void getRouteAndLatency (surf::NetCard *src, surf::NetCard *dst, sg_platf_route_cbarg_t into, double *latency)=0
 Probe the routing path between two points. More...
 
std::vector< surf::Link * > * getBypassRoute (surf::NetCard *src, surf::NetCard *dst)
 

Protected Member Functions

void getRouteCheckParams (NetCard *src, NetCard *dst)
 
void addRouteCheckParams (sg_platf_route_cbarg_t route)
 
- Protected Member Functions inherited from simgrid::surf::AsImpl
 AsImpl (const char *name)
 
 ~AsImpl ()
 

Additional Inherited Members

- Public Types inherited from simgrid::surf::AsImpl
enum  RoutingMode { RoutingMode::unset = 0, RoutingMode::base, RoutingMode::recursive }
 
- Static Public Member Functions inherited from simgrid::surf::AsImpl
static void getRouteRecursive (surf::NetCard *src, surf::NetCard *dst, std::vector< surf::Link * > *links, double *latency)
 Recursive function for getRouteAndLatency. More...
 
- Public Attributes inherited from simgrid::surf::AsImpl
RoutingMode hierarchy_ = RoutingMode::unset
 
surf::NetCardnetcard_ = nullptr
 

Constructor & Destructor Documentation

simgrid::surf::AsRoutedGraph::AsRoutedGraph ( const char *  name)
simgrid::surf::AsRoutedGraph::~AsRoutedGraph ( )

Member Function Documentation

xbt_dynar_t simgrid::surf::AsRoutedGraph::getOneLinkRoutes ( )
overridevirtual

retrieves the list of all routes of size 1 (of type src x dst x Link)

Reimplemented from simgrid::surf::AsImpl.

void simgrid::surf::AsRoutedGraph::getGraph ( xbt_graph_t  graph,
xbt_dict_t  nodes,
xbt_dict_t  edges 
)
overridevirtual

Implements simgrid::surf::AsImpl.

sg_platf_route_cbarg_t simgrid::surf::AsRoutedGraph::newExtendedRoute ( RoutingMode  hierarchy,
sg_platf_route_cbarg_t  routearg,
int  change_order 
)
virtual
void simgrid::surf::AsRoutedGraph::getRouteCheckParams ( NetCard src,
NetCard dst 
)
protected
void simgrid::surf::AsRoutedGraph::addRouteCheckParams ( sg_platf_route_cbarg_t  route)
protected

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