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

The result of an AG decomposition (LALRCATResult, LALMeanFieldResult, LALGroupedResult). More...

#include <line/lang/lal/ag.h>

Inheritance diagram for line::lal::AGResult:
Collaboration diagram for line::lal::AGResult:

Public Member Functions

 AGResult ()=default
 AGResult (const Result &r)

Public Attributes

std::vector< double > reversed_rates
 RCAT effective rates, one per synchronisation.
double rcat_residual = 0.0
double residual = 0.0
 mean-field / grouped fixed-point residual
std::optional< std::vector< GroupDistribution > > group_distributions
Public Attributes inherited from line::lal::Result
std::string method = "ctmc"
bool exact = false
bool truncated = false
std::optional< std::string > fallback_reason
bool converged = true
int iterations = 0
StateTable state_table
ActionTable action_table
std::vector< std::vector< std::size_t > > states
 joint states (CTMC)
std::vector< double > probabilities
 joint probabilities (CTMC)
std::optional< Compiled > compiled
nlohmann::json diagnostics = nlohmann::json::object()
std::vector< std::pair< std::string, double > > rewards
 Stationary expectations of the rewards declared with Composition::setReward, in order.

Detailed Description

The result of an AG decomposition (LALRCATResult, LALMeanFieldResult, LALGroupedResult).

The CTMC path returns the same type with only the Result fields set.

Definition at line 63 of file ag.h.

Constructor & Destructor Documentation

◆ AGResult() [1/2]

line::lal::AGResult::AGResult ( )
default

◆ AGResult() [2/2]

line::lal::AGResult::AGResult ( const Result & r)
inlineexplicit

Definition at line 70 of file ag.h.

Member Data Documentation

◆ group_distributions

std::optional<std::vector<GroupDistribution> > line::lal::AGResult::group_distributions

Definition at line 67 of file ag.h.

Referenced by line::lal::compare_with_ctmc(), and line::lal::grouped_solve().

◆ rcat_residual

double line::lal::AGResult::rcat_residual = 0.0

Definition at line 65 of file ag.h.

Referenced by line::lal::certify_result(), and line::lal::rcat_solve().

◆ residual

double line::lal::AGResult::residual = 0.0

mean-field / grouped fixed-point residual

Definition at line 66 of file ag.h.

Referenced by line::lal::grouped_solve(), and line::lal::meanfield_solve().

◆ reversed_rates

std::vector<double> line::lal::AGResult::reversed_rates

RCAT effective rates, one per synchronisation.

Definition at line 64 of file ag.h.

Referenced by line::lal::certify_result(), and line::lal::rcat_solve().


The documentation for this struct was generated from the following file:
  • include/line/lang/lal/ag.h