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

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.

Function Documentation

◆ detail_rows()

template<class T>
const Matrix< double > & line::ldes::sample_detail::detail_rows ( const qn::NetworkStruct< T > & sn,
const LdesSamplePath & sp,
std::size_t f )

◆ events()

Matrix< double > line::ldes::sample_detail::events ( const LdesSamplePath & sp,
long node0 )
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().

◆ finish()

◆ run()

◆ stateful_of()

template<class T>
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().