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

Place(model, name): a Petri-net place. More...

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

Inheritance diagram for line::Place:
Collaboration diagram for line::Place:

Public Member Functions

 Place (NetworkModel &m, const std::string &nm)
void set_initial_marking (const std::vector< double > &tokens)
 setInitialMarking(tokens).
Public Member Functions inherited from line::Station
void set_service (std::size_t cls, const Dist &d)
 setService(class, distribution).
void set_number_of_servers (double n)
 setNumberOfServers(n).
void set_capacity (double k)
 setCapacity(k), the K of Kendall's notation.
void set_class_capacity (std::size_t cls, double k)
 setClassCapacity(class, k).
void set_drop_rule (std::size_t cls, lang::DropStrategy rule)
 setDropRule(class, rule).
void set_sched_param (std::size_t cls, double weight)
 setSchedParam(class, weight): the DPS/GPS share.
void set_load_dependence (const std::vector< double > &alpha)
 setLoadDependence(alpha).
void set_polling_type (lang::PollingType rule, int par=0)
 setPollingType(type, k).
void set_switchover (std::size_t cls, const Dist &so)
 setSwitchover(class, distribution).
void set_breakdown (const Dist &failure, const Dist &repair)
 setBreakdown(failure, repair).
void add_server_type (const qn::Station< double >::ServerType &stype)
 addServerType(type): one pool of a heterogeneous station.
std::size_t get_station_index () const
 getStationIndex(): the 1-based station index, distinct from the node one.
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::Station
 Station (NetworkModel &m, std::size_t idx, const std::string &nm)
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

Place(model, name): a Petri-net place.

Definition at line 220 of file nodes.h.

Constructor & Destructor Documentation

◆ Place()

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

Definition at line 222 of file nodes.h.

References line::Station::Station().

Member Function Documentation

◆ set_initial_marking()

void line::Place::set_initial_marking ( const std::vector< double > & tokens)
inline

setInitialMarking(tokens).

Definition at line 224 of file nodes.h.

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


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