![]() |
LINE Solver (C++)
Templated C++ port of the LINE queueing solver
|
Join(model, name, fork). More...
#include <line/lang/qn/nodes.h>
Public Member Functions | |
| Join (NetworkModel &m, const std::string &nm, std::size_t fork_node) | |
| void | set_strategy (lang::JoinStrategy strategy, double quorum=0.0) |
| setStrategy(strategy, quorum). | |
| Public Member Functions inherited from line::Node | |
| std::size_t | get_index () const |
| get_index(): the 1-based node index the builder assigned. | |
| const std::string & | get_name () const |
| getName(). | |
| NetworkModel & | model () const |
| The model this node belongs to. | |
| operator std::size_t () const | |
| A handle IS its index wherever one is expected. | |
| void | set_routing (std::size_t cls, lang::RoutingStrategy rs) |
| setRouting(class, strategy). | |
| void | set_routing_weights (std::size_t cls, const std::map< std::size_t, double > &weights) |
| setRoutingWeight(class, weights): the WRROBIN share per destination. | |
Additional Inherited Members | |
| Protected Member Functions inherited from line::Node | |
| Node (NetworkModel &m, std::size_t idx, const std::string &nm) | |
| Protected Attributes inherited from line::Node | |
| NetworkModel * | model_ |
| std::size_t | idx_ |
| std::string | name_ |
|
inline |
Definition at line 199 of file nodes.h.
References line::Node::Node().
|
inline |
setStrategy(strategy, quorum).
Definition at line 202 of file nodes.h.
References line::Node::idx_, line::Node::model_, and line::qn::Network< T >::set_join_strategy().