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

Sink(model, name): the external departure node, which holds no jobs. More...

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

Inheritance diagram for line::Sink:
Collaboration diagram for line::Sink:

Public Member Functions

 Sink (NetworkModel &m, const std::string &nm)
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

Sink(model, name): the external departure node, which holds no jobs.

Definition at line 165 of file nodes.h.

Constructor & Destructor Documentation

◆ Sink()

line::Sink::Sink ( NetworkModel & m,
const std::string & nm )
inline

Definition at line 167 of file nodes.h.

References line::Node::Node().


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