LINE Solver (C++)
Templated C++ port of the LINE queueing solver
Loading...
Searching...
No Matches
line::api::ChainAggregationDeagg< T > Struct Template Reference

Everything needed to map a chain-level result back onto the classes. More...

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

Collaboration diagram for line::api::ChainAggregationDeagg< T >:

Public Attributes

Matrix< T > alpha
 (M x K) class share of its chain's visits at a station
Matrix< T > Lchain
 (M x C) chain demand
Matrix< T > STchain
 (M x C) chain mean service time
Matrix< T > Vchain
 (M x C) chain visits
Matrix< T > SCVchain
 (M x C)
std::vector< double > Nchain
 (C) population, infinite for an open chain
std::vector< T > lambdachain
 (C) aggregate arrival rate, 0 for a closed chain
std::vector< bool > isopenchain
 (C)
std::vector< std::vector< std::size_t > > inchain
 (C) 1-based class indices
std::vector< std::size_t > refstat
 (K) 1-based reference station
std::vector< std::size_t > refstatchain
 (C) 1-based reference station
bool isaggregated = false
 false when C == K and the model was merely copied
std::size_t nclasses = 0
 K of the ORIGINAL model.
std::size_t nchains = 0
 C, the class count of the aggregate.

Detailed Description

template<class T>
struct line::api::ChainAggregationDeagg< T >

Everything needed to map a chain-level result back onto the classes.

The reference's deaggInfo, minus its originalSn field: a struct is a value here and the caller already holds the one it passed in, so carrying a second copy would double the memory for nothing. Nothing in sn_deaggregate_chain_results reads it either – the documented call is sn_deaggregate_chain_results(sn, Lchain, [], STchain, Vchain, alpha, ...).

Definition at line 110 of file sn_aggregate_chains.h.

Member Data Documentation

◆ alpha

template<class T>
Matrix<T> line::api::ChainAggregationDeagg< T >::alpha

(M x K) class share of its chain's visits at a station

Definition at line 111 of file sn_aggregate_chains.h.

◆ inchain

template<class T>
std::vector<std::vector<std::size_t> > line::api::ChainAggregationDeagg< T >::inchain

(C) 1-based class indices

Definition at line 119 of file sn_aggregate_chains.h.

◆ isaggregated

template<class T>
bool line::api::ChainAggregationDeagg< T >::isaggregated = false

false when C == K and the model was merely copied

Definition at line 122 of file sn_aggregate_chains.h.

◆ isopenchain

template<class T>
std::vector<bool> line::api::ChainAggregationDeagg< T >::isopenchain

(C)

Definition at line 118 of file sn_aggregate_chains.h.

◆ lambdachain

template<class T>
std::vector<T> line::api::ChainAggregationDeagg< T >::lambdachain

(C) aggregate arrival rate, 0 for a closed chain

Definition at line 117 of file sn_aggregate_chains.h.

◆ Lchain

template<class T>
Matrix<T> line::api::ChainAggregationDeagg< T >::Lchain

(M x C) chain demand

Definition at line 112 of file sn_aggregate_chains.h.

◆ Nchain

template<class T>
std::vector<double> line::api::ChainAggregationDeagg< T >::Nchain

(C) population, infinite for an open chain

Definition at line 116 of file sn_aggregate_chains.h.

◆ nchains

template<class T>
std::size_t line::api::ChainAggregationDeagg< T >::nchains = 0

C, the class count of the aggregate.

Definition at line 124 of file sn_aggregate_chains.h.

◆ nclasses

template<class T>
std::size_t line::api::ChainAggregationDeagg< T >::nclasses = 0

K of the ORIGINAL model.

Definition at line 123 of file sn_aggregate_chains.h.

◆ refstat

template<class T>
std::vector<std::size_t> line::api::ChainAggregationDeagg< T >::refstat

(K) 1-based reference station

Definition at line 120 of file sn_aggregate_chains.h.

◆ refstatchain

template<class T>
std::vector<std::size_t> line::api::ChainAggregationDeagg< T >::refstatchain

(C) 1-based reference station

Definition at line 121 of file sn_aggregate_chains.h.

◆ SCVchain

template<class T>
Matrix<T> line::api::ChainAggregationDeagg< T >::SCVchain

(M x C)

Definition at line 115 of file sn_aggregate_chains.h.

◆ STchain

template<class T>
Matrix<T> line::api::ChainAggregationDeagg< T >::STchain

(M x C) chain mean service time

Definition at line 113 of file sn_aggregate_chains.h.

◆ Vchain

template<class T>
Matrix<T> line::api::ChainAggregationDeagg< T >::Vchain

(M x C) chain visits

Definition at line 114 of file sn_aggregate_chains.h.


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