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

Key of an embedded node action: (node, EventType, class | mode). More...

#include <line/lang/lal/core.h>

Collaboration diagram for line::lal::NodeEvent:

Public Member Functions

std::string label () const
bool operator== (const NodeEvent &o) const
bool operator!= (const NodeEvent &o) const
bool operator< (const NodeEvent &o) const

Public Attributes

std::string model
std::string node
lang::EventType event = lang::EventType::LOCAL
std::optional< std::string > index

Detailed Description

Key of an embedded node action: (node, EventType, class | mode).

model is the embedding prefix (empty when none was given); index is a class name, a Petri-net mode name, a stage arc e->h, or empty for an event that names no class. Rendered for tables as [prefix.]Node.EVENT[index].

Definition at line 153 of file core.h.

Member Function Documentation

◆ label()

std::string line::lal::NodeEvent::label ( ) const
inline

◆ operator!=()

bool line::lal::NodeEvent::operator!= ( const NodeEvent & o) const
inline

Definition at line 168 of file core.h.

◆ operator<()

bool line::lal::NodeEvent::operator< ( const NodeEvent & o) const
inline

Definition at line 169 of file core.h.

References event, index, model, and node.

◆ operator==()

bool line::lal::NodeEvent::operator== ( const NodeEvent & o) const
inline

Definition at line 165 of file core.h.

References event, index, model, and node.

Member Data Documentation

◆ event

◆ index

std::optional<std::string> line::lal::NodeEvent::index

◆ model

std::string line::lal::NodeEvent::model

Definition at line 154 of file core.h.

Referenced by label(), line::lal::node_event_matches(), operator<(), and operator==().

◆ node


The documentation for this struct was generated from the following file:
  • include/line/lang/lal/core.h