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

SolverNC.getAvgLinkTable(): the per-link measures of a loss network (an open model whose single Delay sits in one DROP finite capacity region), one row per link j and class r with A(j,r) > 0. More...

#include <line/solvers/avg_table.h>

Collaboration diagram for line::AvgLinkTable:

Public Member Functions

void print (std::ostream &out) const
 Print the labelled link-class table.
void print () const
std::size_t size () const
bool empty () const

Public Attributes

std::vector< std::string > Link
std::vector< std::string > JobClass
std::vector< double > Capacity
std::vector< double > Demand
std::vector< double > Occupancy
std::vector< double > LinkBlocking
std::vector< double > RouteLoss

Detailed Description

SolverNC.getAvgLinkTable(): the per-link measures of a loss network (an open model whose single Delay sits in one DROP finite capacity region), one row per link j and class r with A(j,r) > 0.

Each row of the admission rule A n <= C is a link (GlobalMaxJobs, GlobalMaxMemory, ClassMaxJobs:<class>, Constraint<k>). Capacity is C_j, Demand A(j,r), Occupancy the mean busy units of link j over all classes, LinkBlocking the probability that link j alone lacks room for a class-r job, RouteLoss the probability that the region drops a class-r job. Computed by lossn_links with the method of the last run. Empty on any other model.

Definition at line 189 of file avg_table.h.

Member Function Documentation

◆ empty()

bool line::AvgLinkTable::empty ( ) const
inline

Definition at line 196 of file avg_table.h.

References Link.

◆ print() [1/2]

void line::AvgLinkTable::print ( ) const

Definition at line 346 of file solver_facade.cpp.

References print().

◆ print() [2/2]

void line::AvgLinkTable::print ( std::ostream & out) const

Print the labelled link-class table.

Definition at line 326 of file solver_facade.cpp.

References Capacity, Demand, JobClass, Link, LinkBlocking, Occupancy, RouteLoss, and size().

Referenced by print().

◆ size()

std::size_t line::AvgLinkTable::size ( ) const
inline

Definition at line 195 of file avg_table.h.

References Link.

Referenced by print().

Member Data Documentation

◆ Capacity

std::vector<double> line::AvgLinkTable::Capacity

Definition at line 191 of file avg_table.h.

Referenced by line::SolverNC::avg_link_table(), and print().

◆ Demand

std::vector<double> line::AvgLinkTable::Demand

Definition at line 191 of file avg_table.h.

Referenced by line::SolverNC::avg_link_table(), and print().

◆ JobClass

std::vector<std::string> line::AvgLinkTable::JobClass

Definition at line 190 of file avg_table.h.

Referenced by line::SolverNC::avg_link_table(), and print().

◆ Link

std::vector<std::string> line::AvgLinkTable::Link

Definition at line 190 of file avg_table.h.

Referenced by line::SolverNC::avg_link_table(), empty(), print(), and size().

◆ LinkBlocking

std::vector<double> line::AvgLinkTable::LinkBlocking

Definition at line 191 of file avg_table.h.

Referenced by line::SolverNC::avg_link_table(), and print().

◆ Occupancy

std::vector<double> line::AvgLinkTable::Occupancy

Definition at line 191 of file avg_table.h.

Referenced by line::SolverNC::avg_link_table(), and print().

◆ RouteLoss

std::vector<double> line::AvgLinkTable::RouteLoss

Definition at line 191 of file avg_table.h.

Referenced by line::SolverNC::avg_link_table(), and print().


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