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

Fork(model, name). More...

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

Inheritance diagram for line::Fork:
Collaboration diagram for line::Fork:

Public Member Functions

 Fork (NetworkModel &m, const std::string &nm, double tasks_per_link=1.0)
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

Fork(model, name).

Definition at line 190 of file nodes.h.

Constructor & Destructor Documentation

◆ Fork()

line::Fork::Fork ( NetworkModel & m,
const std::string & nm,
double tasks_per_link = 1.0 )
inline

Definition at line 192 of file nodes.h.

References line::Node::Node().


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