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

A heterogeneous server pool: count servers that serve only compatible classes, each with its own service law. More...

#include <line/lang/qn/network_struct.h>

Collaboration diagram for line::qn::Station< T >::ServerType:

Public Attributes

std::string name
double count = 1.0
std::vector< bool > compatible
 per class; empty = every class
std::vector< Distrib< T > > service
 per class

Detailed Description

template<class T>
struct line::qn::Station< T >::ServerType

A heterogeneous server pool: count servers that serve only compatible classes, each with its own service law.

The station's own service row stays the class-level default and is what every homogeneous consumer reads; server_types is the refinement, and hetero_policy says how the pools are picked among.

Definition at line 745 of file network_struct.h.

Member Data Documentation

◆ compatible

template<class T>
std::vector<bool> line::qn::Station< T >::ServerType::compatible

per class; empty = every class

Definition at line 748 of file network_struct.h.

Referenced by line::io::build_network_from_json(), line::ldes::ldes_engine_solve_one(), and line::io::network_to_json().

◆ count

template<class T>
double line::qn::Station< T >::ServerType::count = 1.0

◆ name

template<class T>
std::string line::qn::Station< T >::ServerType::name

◆ service

template<class T>
std::vector<Distrib<T> > line::qn::Station< T >::ServerType::service

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