![]() |
LINE Solver (C++)
Templated C++ port of the LINE queueing solver
|
The union of Python's LAL MAM result dataclasses. More...
#include <line/lang/lal/mam_common.h>
Public Attributes | |
| std::string | level_agent |
| double | residual = 0.0 |
| std::optional< std::string > | residual_kind |
| std::vector< std::vector< double > > | level_probabilities |
| One row per displayed level (finite and infinite QBD) or per level (reachable QBD). | |
| std::vector< std::vector< std::string > > | phase_states |
| Phase tuples as agent-state names, in the column order of level_probabilities. | |
| std::optional< Traffic > | traffic |
| std::optional< QueueTable > | queue_measures |
| std::map< std::string, double > | queue_means |
| empty: Python has no queue_means | |
| std::optional< double > | mean_level |
| std::optional< Matrix< double > > | rate_matrix |
| std::optional< double > | rate_matrix_residual |
| std::optional< double > | spectral_radius |
| std::optional< double > | drift |
| std::optional< double > | tail_probability |
| std::optional< std::size_t > | reachable_states |
| std::vector< double > | closed_class_weights |
| std::optional< std::string > | approximation |
| std::vector< std::string > | source_marks |
| std::vector< MarkedMatrices > | source_matrices |
| std::vector< std::string > | phase_dependent_routing |
| std::vector< std::string > | correlated_service_reset |
| std::vector< std::string > | unavailable_clock_phases |
| std::vector< std::string > | unavailable_busy_probabilities |
| multiserver queues: Busy is NaN | |
| std::optional< double > | native_time_scale |
| dec.source: factor dividing the lowered network's rates | |
| nlohmann::json | native_time_scales |
| marked.thinning: station -> scale (null without input); null: absent | |
| nlohmann::json | poissonised_visit_excess = nlohmann::json::object() |
| nlohmann::json | native_internal_fitting |
| null: absent | |
| nlohmann::json | extra = nlohmann::json::object() |
| bool | has_converged = false |
| whether the lowering reports converged at all | |
| std::optional< ActionTable > | raw_action_table |
| The action table under the lowered agents' own route-specific labels, kept when an embedded network was lowered (python raw_action_table): getQueueTable needs the per-route rows that the presented table sums. | |
| 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. | |
The union of Python's LAL MAM result dataclasses.
Definition at line 118 of file mam_common.h.
| std::optional<std::string> line::lal::MamResult::approximation |
Definition at line 137 of file mam_common.h.
Referenced by line::lal::SolverMAM::getMAMDiagnostics(), line::lal::map_network(), and line::lal::marked_thinning().
| std::vector<double> line::lal::MamResult::closed_class_weights |
Definition at line 136 of file mam_common.h.
Referenced by line::lal::reachable_qbd().
| std::vector<std::string> line::lal::MamResult::correlated_service_reset |
Definition at line 141 of file mam_common.h.
Referenced by line::lal::SolverMAM::getCompositionCapabilities(), and line::lal::SolverMAM::getMAMDiagnostics().
| std::optional<double> line::lal::MamResult::drift |
Definition at line 133 of file mam_common.h.
Referenced by line::lal::infinite_qbd().
| nlohmann::json line::lal::MamResult::extra = nlohmann::json::object() |
Definition at line 148 of file mam_common.h.
Referenced by line::lal::jackson(), line::lal::map_network(), line::lal::marked_thinning(), and line::lal::parallel_qbd().
| bool line::lal::MamResult::has_converged = false |
whether the lowering reports converged at all
Definition at line 149 of file mam_common.h.
Referenced by line::lal::map_network(), and line::lal::marked_thinning().
| std::string line::lal::MamResult::level_agent |
Definition at line 119 of file mam_common.h.
Referenced by line::lal::finite_qbd(), line::lal::infinite_qbd(), and line::lal::reachable_qbd().
| std::vector<std::vector<double> > line::lal::MamResult::level_probabilities |
One row per displayed level (finite and infinite QBD) or per level (reachable QBD).
Definition at line 123 of file mam_common.h.
Referenced by line::lal::finite_qbd(), line::lal::infinite_qbd(), and line::lal::reachable_qbd().
| std::optional<double> line::lal::MamResult::mean_level |
Definition at line 129 of file mam_common.h.
Referenced by line::lal::SolverMAM::getQueueTable(), and line::lal::infinite_qbd().
| nlohmann::json line::lal::MamResult::native_internal_fitting |
null: absent
Definition at line 147 of file mam_common.h.
Referenced by line::lal::SolverMAM::getMAMDiagnostics(), line::lal::map_network(), and line::lal::marked_thinning().
| std::optional<double> line::lal::MamResult::native_time_scale |
dec.source: factor dividing the lowered network's rates
Definition at line 144 of file mam_common.h.
Referenced by line::lal::SolverMAM::getMAMDiagnostics(), and line::lal::map_network().
| nlohmann::json line::lal::MamResult::native_time_scales |
marked.thinning: station -> scale (null without input); null: absent
Definition at line 145 of file mam_common.h.
Referenced by line::lal::SolverMAM::getMAMDiagnostics(), and line::lal::marked_thinning().
| std::vector<std::string> line::lal::MamResult::phase_dependent_routing |
Definition at line 140 of file mam_common.h.
Referenced by line::lal::SolverMAM::getCompositionCapabilities(), and line::lal::SolverMAM::getMAMDiagnostics().
| std::vector<std::vector<std::string> > line::lal::MamResult::phase_states |
Phase tuples as agent-state names, in the column order of level_probabilities.
Definition at line 125 of file mam_common.h.
Referenced by line::lal::finite_qbd(), line::lal::infinite_qbd(), and line::lal::reachable_qbd().
| nlohmann::json line::lal::MamResult::poissonised_visit_excess = nlohmann::json::object() |
Definition at line 146 of file mam_common.h.
Referenced by line::lal::SolverMAM::getMAMDiagnostics(), and line::lal::marked_thinning().
| std::map<std::string, double> line::lal::MamResult::queue_means |
empty: Python has no queue_means
Definition at line 128 of file mam_common.h.
Referenced by line::lal::SolverMAM::getQueueTable(), and line::lal::jackson().
| std::optional<QueueTable> line::lal::MamResult::queue_measures |
Definition at line 127 of file mam_common.h.
Referenced by line::lal::SolverMAM::getQueueTable(), line::lal::map_network(), line::lal::marked_thinning(), line::lal::parallel_qbd(), and line::lal::SolverMAM::runAnalyzer().
| std::optional<Matrix<double> > line::lal::MamResult::rate_matrix |
Definition at line 130 of file mam_common.h.
Referenced by line::lal::infinite_qbd().
| std::optional<double> line::lal::MamResult::rate_matrix_residual |
Definition at line 131 of file mam_common.h.
Referenced by line::lal::infinite_qbd().
| std::optional<ActionTable> line::lal::MamResult::raw_action_table |
The action table under the lowered agents' own route-specific labels, kept when an embedded network was lowered (python raw_action_table): getQueueTable needs the per-route rows that the presented table sums.
Definition at line 155 of file mam_common.h.
Referenced by line::lal::SolverMAM::getQueueTable(), and line::lal::SolverMAM::runAnalyzer().
| std::optional<std::size_t> line::lal::MamResult::reachable_states |
Definition at line 135 of file mam_common.h.
Referenced by line::lal::reachable_qbd().
| double line::lal::MamResult::residual = 0.0 |
Definition at line 120 of file mam_common.h.
Referenced by line::lal::finite_qbd(), line::lal::SolverMAM::getMAMDiagnostics(), line::lal::infinite_qbd(), line::lal::jackson(), line::lal::map_network(), line::lal::marked_thinning(), line::lal::parallel_qbd(), and line::lal::reachable_qbd().
| std::optional<std::string> line::lal::MamResult::residual_kind |
Definition at line 121 of file mam_common.h.
Referenced by line::lal::SolverMAM::getMAMDiagnostics(), line::lal::jackson(), line::lal::map_network(), and line::lal::marked_thinning().
| std::vector<std::string> line::lal::MamResult::source_marks |
Definition at line 138 of file mam_common.h.
Referenced by line::lal::map_network().
| std::vector<MarkedMatrices> line::lal::MamResult::source_matrices |
Definition at line 139 of file mam_common.h.
Referenced by line::lal::map_network().
| std::optional<double> line::lal::MamResult::spectral_radius |
Definition at line 132 of file mam_common.h.
Referenced by line::lal::infinite_qbd().
| std::optional<double> line::lal::MamResult::tail_probability |
Definition at line 134 of file mam_common.h.
Referenced by line::lal::infinite_qbd().
| std::optional<Traffic> line::lal::MamResult::traffic |
Definition at line 126 of file mam_common.h.
Referenced by line::lal::finite_qbd(), line::lal::SolverMAM::getCompositionCapabilities(), line::lal::SolverMAM::getMAMDiagnostics(), line::lal::infinite_qbd(), line::lal::map_network(), line::lal::marked_thinning(), line::lal::reachable_qbd(), line::lal::SolverMAM::runAnalyzer(), and line::lal::solve_reduced().
| std::vector<std::string> line::lal::MamResult::unavailable_busy_probabilities |
multiserver queues: Busy is NaN
Definition at line 143 of file mam_common.h.
Referenced by line::lal::SolverMAM::getCompositionCapabilities(), line::lal::SolverMAM::getMAMDiagnostics(), line::lal::map_network(), and line::lal::marked_thinning().
| std::vector<std::string> line::lal::MamResult::unavailable_clock_phases |
Definition at line 142 of file mam_common.h.
Referenced by line::lal::SolverMAM::getCompositionCapabilities(), and line::lal::SolverMAM::getMAMDiagnostics().