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

The immutable agent record (core.Agent). More...

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

Collaboration diagram for line::lal::AgentRecord:

Public Member Functions

std::size_t state_index (const std::string &s) const
 Zero-based index of a local state, or npos.

Public Attributes

std::string name
std::vector< std::string > states
std::string initial
std::vector< Transition > transitions
std::optional< std::vector< double > > initial_distribution
bool unbounded_queue = false
std::optional< long > unbounded_initial
std::optional< QueueInfo > queue_info
std::shared_ptr< EmbeddedPart > embedded
 An embedded LINE model, whose states are global state indices; null for a hand agent.
bool discrete = false
 A discrete-time agent (an embedded MarkovChain).
std::vector< std::string > var_names
 Typed-variable agents: the variable names, and the valuation of each local state.
std::vector< std::vector< long > > var_values

Detailed Description

The immutable agent record (core.Agent).

Definition at line 284 of file core.h.

Member Function Documentation

◆ state_index()

std::size_t line::lal::AgentRecord::state_index ( const std::string & s) const
inline

Member Data Documentation

◆ discrete

bool line::lal::AgentRecord::discrete = false

A discrete-time agent (an embedded MarkovChain).

Definition at line 296 of file core.h.

Referenced by line::lal::has_discrete(), line::lal::Agent::record(), and line::lal::signature().

◆ embedded

◆ initial

◆ initial_distribution

◆ name

◆ queue_info

◆ states

◆ transitions

◆ unbounded_initial

std::optional<long> line::lal::AgentRecord::unbounded_initial

Definition at line 291 of file core.h.

Referenced by line::lal::Agent::record(), and line::lal::signature().

◆ unbounded_queue

◆ var_names

std::vector<std::string> line::lal::AgentRecord::var_names

Typed-variable agents: the variable names, and the valuation of each local state.

Definition at line 298 of file core.h.

Referenced by line::lal::StateView::var().

◆ var_values

std::vector<std::vector<long> > line::lal::AgentRecord::var_values

Definition at line 299 of file core.h.

Referenced by line::lal::StateView::var().


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