A global route computation object/genie This class performs operations very similar to what "Simulator instproc compute-routes" does at OTcl-level, except it performs them entirely in C++. Single source shortest path routing is also supported.
int command(int argc, const char * const * argv) |
int data_driven_computation() |
static SatRouteObject& instance() |
void recompute() |
void recompute_node(int node) |
SatRouteObject() |
int data_driven_computation_ |
static SatRouteObject* instance_ |
int metric_delay_ |
int suppress_initial_computation_ |
void compute_topology() |
void dump() |
int lookup(int src, int dst) |
void* lookup_entry(int src, int dst) |
void node_compute_routes(int node) |
void populate_routing_tables(int node = -1) |
RouteLogic instvar default_node_rtprotos_ |
RouteLogic instvar node_rtprotos_ |
RouteLogic instvar rtprotos_ |
RouteLogic instproc append-addr {level addrstr} |
RouteLogic instproc configure {} |
virtual int lookup_flat(char* asrc, char* adst, int&result) |
int lookup_hier(char* asrc, char* adst, int&result) |
RouteLogic instproc notify {} |
static void ns_strtok(char *addr, int *addrstr) |
RouteLogic instproc register {proto args} |
adj_entry* adj_ |
int* C_ |
int* cluster_size_ |
int D_ |
int** hadj_ |
char*** hconnect_ |
int** hroute_ |
int* hsize_ |
int level_ |
route_entry* route_ |
int size_ |
void alloc(int n) |
void check(int) |
void compute_routes() |
void get_address(char * target, int next_hop, int index, int d, int size, int *src) |
void hier_alloc(int size) |
void hier_check(int index) |
void hier_compute() |
void hier_compute_routes(int index, int d) |
void hier_init(void) |
void hier_insert(int *src, int *dst, int cost) |
void hier_print_hadj() |
void hier_print_route() |
void hier_reset(int *src, int *dst) |
void insert(int src, int dst, double cost) |
void insert(int src, int dst, double cost, void* entry) |
void reset(int src, int dst) |
void reset_all() |
void str2address(const char*const* address, int *src, int *dst) |
A global route computation object/genie This class performs operations very similar to what "Simulator instproc compute-routes" does at OTcl-level, except it performs them entirely in C++. Single source shortest path routing is also supported.
this page has been generated automatically by doc++
Adapted for the NS documentation page
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de