LINE Solver (C++)
Templated C++ port of the LINE queueing solver
Loading...
Searching...
No Matches
line::ClassSwitch Class Reference

ClassSwitch(model, name, C). More...

#include <line/lang/qn/nodes.h>

Inheritance diagram for line::ClassSwitch:
Collaboration diagram for line::ClassSwitch:

Public Member Functions

 ClassSwitch (NetworkModel &m, const std::string &nm, const Matrix< double > &C)
void set_class_switching_matrix (const Matrix< double > &C)
 setClassSwitchingMatrix(C).
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().
NetworkModelmodel () 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
NetworkModelmodel_
std::size_t idx_
std::string name_

Detailed Description

ClassSwitch(model, name, C).

Definition at line 177 of file nodes.h.

Constructor & Destructor Documentation

◆ ClassSwitch()

line::ClassSwitch::ClassSwitch ( NetworkModel & m,
const std::string & nm,
const Matrix< double > & C )
inline

Member Function Documentation

◆ set_class_switching_matrix()

void line::ClassSwitch::set_class_switching_matrix ( const Matrix< double > & C)
inline

setClassSwitchingMatrix(C).

Definition at line 184 of file nodes.h.

References line::Node::idx_, line::Node::model_, and line::qn::Network< T >::set_class_switch_matrix().


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