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

What sn_aggregate_chains returns. More...

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

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

Public Member Functions

 ChainAggregationResult (const qn::Network< T > &m)

Public Attributes

qn::Network< T > model
 the aggregate, one class per chain
Matrix< T > alpha
 (M x K), the same matrix as deagg.alpha
std::vector< std::size_t > chainclass
 chainclass[c] is the 1-based class index of chain c+1 in model.
std::vector< std::size_t > stationnode
 stationnode[i] is the aggregate's 1-based node for original station i+1, 0 if dropped.
ChainAggregationDeagg< T > deagg

Detailed Description

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

What sn_aggregate_chains returns.

Definition at line 129 of file sn_aggregate_chains.h.

Constructor & Destructor Documentation

◆ ChainAggregationResult()

template<class T>
line::api::ChainAggregationResult< T >::ChainAggregationResult ( const qn::Network< T > & m)
inlineexplicit

Definition at line 130 of file sn_aggregate_chains.h.

References model.

Member Data Documentation

◆ alpha

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

(M x K), the same matrix as deagg.alpha

Definition at line 132 of file sn_aggregate_chains.h.

Referenced by line::api::sn_aggregate_chains().

◆ chainclass

template<class T>
std::vector<std::size_t> line::api::ChainAggregationResult< T >::chainclass

chainclass[c] is the 1-based class index of chain c+1 in model.

Definition at line 134 of file sn_aggregate_chains.h.

Referenced by line::api::sn_aggregate_chains().

◆ deagg

template<class T>
ChainAggregationDeagg<T> line::api::ChainAggregationResult< T >::deagg

Definition at line 137 of file sn_aggregate_chains.h.

Referenced by line::api::sn_aggregate_chains().

◆ model

template<class T>
qn::Network<T> line::api::ChainAggregationResult< T >::model

the aggregate, one class per chain

Definition at line 131 of file sn_aggregate_chains.h.

Referenced by ChainAggregationResult(), line::tr::transform_solve_chains(), and line::tr::transform_solve_lc().

◆ stationnode

template<class T>
std::vector<std::size_t> line::api::ChainAggregationResult< T >::stationnode

stationnode[i] is the aggregate's 1-based node for original station i+1, 0 if dropped.

Definition at line 136 of file sn_aggregate_chains.h.

Referenced by line::api::sn_aggregate_chains().


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