![]() |
LINE Solver (C++)
Templated C++ port of the LINE queueing solver
|
Functions | |
| template<class T> | |
| LdesSamplePath | run (const qn::NetworkStruct< T > &sn, const LdesOptions &o_in, std::size_t events) |
| Runs the engine with --sample-path events and returns its block. | |
| Matrix< double > | events (const LdesSamplePath &sp, long node0) |
| The event rows of node node0 (0-based), or of every node when it is negative. | |
| template<class T> | |
| std::size_t | stateful_of (const qn::NetworkStruct< T > &sn, const LdesSamplePath &sp, std::size_t ind) |
| The stateful position of 1-based node ind in the block, or a refusal naming it. | |
| template<class T> | |
| const Matrix< double > & | detail_rows (const qn::NetworkStruct< T > &sn, const LdesSamplePath &sp, std::size_t f) |
| The detailed rows of stateful position f, or the engine's refusal by name. | |
| void | finish (const LdesSamplePath &sp, LdesSample &out) |
| Fills t, the provenance fields and the joined state of an assembled sample. | |
| const Matrix< double > & line::ldes::sample_detail::detail_rows | ( | const qn::NetworkStruct< T > & | sn, |
| const LdesSamplePath & | sp, | ||
| std::size_t | f ) |
The detailed rows of stateful position f, or the engine's refusal by name.
Definition at line 1536 of file solver_ldes.h.
References detail_rows(), line::ldes::LdesSamplePath::refusals, line::ldes::LdesSamplePath::state, line::ldes::LdesSamplePath::stateful_nodes, and line::UnsupportedError::UnsupportedError().
Referenced by detail_rows(), line::ldes::ldes_sample(), and line::ldes::ldes_sample_sys().
|
inline |
The event rows of node node0 (0-based), or of every node when it is negative.
Definition at line 1502 of file solver_ldes.h.
References line::ldes::LdesSamplePath::events, and events().
Referenced by events(), line::ldes::ldes_sample(), line::ldes::ldes_sample_aggr(), line::ldes::ldes_sample_sys(), line::ldes::ldes_sample_sys_aggr(), and run().
|
inline |
Fills t, the provenance fields and the joined state of an assembled sample.
Definition at line 1550 of file solver_ldes.h.
References line::ldes::LdesSample::block, line::Matrix< T >::cols(), finish(), line::Matrix< T >::rows(), line::ldes::LdesSample::sim_time, line::ldes::LdesSamplePath::sim_time, line::ldes::LdesSample::state, line::ldes::LdesSample::t, line::ldes::LdesSamplePath::t, line::ldes::LdesSample::unbound_scripts, and line::ldes::LdesSamplePath::unbound_scripts.
Referenced by finish(), line::ldes::ldes_sample(), line::ldes::ldes_sample_aggr(), line::ldes::ldes_sample_sys(), and line::ldes::ldes_sample_sys_aggr().
| LdesSamplePath line::ldes::sample_detail::run | ( | const qn::NetworkStruct< T > & | sn, |
| const LdesOptions & | o_in, | ||
| std::size_t | events ) |
Runs the engine with --sample-path events and returns its block.
Definition at line 1488 of file solver_ldes.h.
References line::ldes::LdesResult::engine, events(), line::ldes::LdesResult::has_sample_path, line::InputError::InputError(), line::NumericError::NumericError(), run(), line::ldes::LdesResult::sample_path, line::ldes::LdesOptions::sample_path_events, and line::ldes::solver_ldes().
Referenced by line::ldes::ldes_sample(), line::ldes::ldes_sample_aggr(), line::ldes::ldes_sample_sys(), line::ldes::ldes_sample_sys_aggr(), and run().
| std::size_t line::ldes::sample_detail::stateful_of | ( | const qn::NetworkStruct< T > & | sn, |
| const LdesSamplePath & | sp, | ||
| std::size_t | ind ) |
The stateful position of 1-based node ind in the block, or a refusal naming it.
Definition at line 1526 of file solver_ldes.h.
References line::InputError::InputError(), line::ldes::LdesSamplePath::stateful_nodes, and stateful_of().
Referenced by line::ldes::ldes_sample(), line::ldes::ldes_sample_aggr(), and stateful_of().