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

The result container shared by the LAL solver paths (LALCTMCResult, the AG decomposition results, SSA). More...

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

Inheritance diagram for line::lal::Result:
Collaboration diagram for line::lal::Result:

Public Attributes

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 container shared by the LAL solver paths (LALCTMCResult, the AG decomposition results, SSA).

Fields a path does not produce stay at their defaults.

Definition at line 96 of file ctmc.h.

Member Data Documentation

◆ action_table

◆ compiled

std::optional<Compiled> line::lal::Result::compiled

◆ converged

bool line::lal::Result::converged = true

◆ diagnostics

nlohmann::json line::lal::Result::diagnostics = nlohmann::json::object()

◆ exact

◆ fallback_reason

◆ iterations

int line::lal::Result::iterations = 0

◆ method

◆ probabilities

std::vector<double> line::lal::Result::probabilities

◆ rewards

std::vector<std::pair<std::string, double> > line::lal::Result::rewards

Stationary expectations of the rewards declared with Composition::setReward, in order.

Definition at line 110 of file ctmc.h.

Referenced by line::lal::SolverCTMC::runAnalyzer(), and line::lal::solve_composition().

◆ state_table

◆ states

std::vector<std::vector<std::size_t> > line::lal::Result::states

◆ truncated


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