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

What sn_zero_capacity reports. More...

#include <line/api/sn/sn_zero_capacity.h>

Collaboration diagram for line::api::ZeroCapacity:

Public Member Functions

bool any () const
 True when some chain is trapped.

Public Attributes

std::vector< std::size_t > deadstat
 (nchains) the 1-based zero-capacity station trapping chain c, 0 if none.
std::string reason
 Non-empty when the model has no steady state of this form: an open class reaches a zero-capacity station, a chain visits two of them, or a rate-zero finite-server station is shared with a live chain.

Detailed Description

What sn_zero_capacity reports.

Definition at line 44 of file sn_zero_capacity.h.

Member Function Documentation

◆ any()

bool line::api::ZeroCapacity::any ( ) const
inline

True when some chain is trapped.

Definition at line 54 of file sn_zero_capacity.h.

References deadstat.

Referenced by line::NetworkSolver::avg_table().

Member Data Documentation

◆ deadstat

std::vector<std::size_t> line::api::ZeroCapacity::deadstat

(nchains) the 1-based zero-capacity station trapping chain c, 0 if none.

Definition at line 46 of file sn_zero_capacity.h.

Referenced by any(), and line::api::sn_zero_capacity().

◆ reason

std::string line::api::ZeroCapacity::reason

Non-empty when the model has no steady state of this form: an open class reaches a zero-capacity station, a chain visits two of them, or a rate-zero finite-server station is shared with a live chain.

Definition at line 52 of file sn_zero_capacity.h.

Referenced by line::NetworkSolver::avg_table(), and line::api::sn_zero_capacity().


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