![]() |
LINE Solver (C++)
Templated C++ port of the LINE queueing solver
|
Functions | |
| template<class T> | |
| void | add_row (PollingAdvance< T > &B, const std::vector< long > &c, int mode, std::size_t q, T prob) |
| template<class T> | |
| void | add_visit (const PollingInfo< T > &pi, PollingAdvance< T > &B, std::vector< long > c, std::size_t p, std::size_t r, const std::vector< long > &nbuf, T prob) |
| template<class T> | |
| void | arrive_at (const PollingInfo< T > &pi, PollingAdvance< T > &B, const std::vector< long > &c, const std::vector< long > &nbuf, std::size_t p, T prob, std::vector< std::vector< long > > &passC, std::vector< T > &passP) |
| template<class T> | |
| void | walk (const PollingInfo< T > &pi, PollingAdvance< T > &B, std::vector< long > c, const std::vector< long > &nbuf, std::size_t p, bool arrived, std::size_t steps_left, T prob, std::size_t startpos) |
| void line::qn::polling_detail::add_row | ( | PollingAdvance< T > & | B, |
| const std::vector< long > & | c, | ||
| int | mode, | ||
| std::size_t | q, | ||
| T | prob ) |
Definition at line 4480 of file state_events.h.
References add_row(), line::qn::PollingAdvance< T >::C, line::qn::PollingAdvance< T >::mode, line::qn::PollingAdvance< T >::prob, and line::qn::PollingAdvance< T >::q.
Referenced by add_row(), add_visit(), arrive_at(), line::qn::polling_advance(), and walk().
| void line::qn::polling_detail::add_visit | ( | const PollingInfo< T > & | pi, |
| PollingAdvance< T > & | B, | ||
| std::vector< long > | c, | ||
| std::size_t | p, | ||
| std::size_t | r, | ||
| const std::vector< long > & | nbuf, | ||
| T | prob ) |
Definition at line 4488 of file state_events.h.
References add_row(), add_visit(), line::lang::LOCAL, line::qn::polling_budget(), line::qn::PollingInfo< T >::t_pie, line::qn::PollingInfo< T >::tk, and line::qn::PollingInfo< T >::tmode.
Referenced by add_visit(), arrive_at(), and line::qn::polling_advance().
| void line::qn::polling_detail::arrive_at | ( | const PollingInfo< T > & | pi, |
| PollingAdvance< T > & | B, | ||
| const std::vector< long > & | c, | ||
| const std::vector< long > & | nbuf, | ||
| std::size_t | p, | ||
| T | prob, | ||
| std::vector< std::vector< long > > & | passC, | ||
| std::vector< T > & | passP ) |
Definition at line 4507 of file state_events.h.
References add_row(), add_visit(), arrive_at(), line::lang::GLOBAL, line::qn::polling_budget(), line::qn::PollingInfo< T >::ring, line::qn::PollingInfo< T >::t_pie, line::qn::PollingInfo< T >::tk, and line::qn::PollingInfo< T >::tmode.
Referenced by arrive_at(), and walk().
| void line::qn::polling_detail::walk | ( | const PollingInfo< T > & | pi, |
| PollingAdvance< T > & | B, | ||
| std::vector< long > | c, | ||
| const std::vector< long > & | nbuf, | ||
| std::size_t | p, | ||
| bool | arrived, | ||
| std::size_t | steps_left, | ||
| T | prob, | ||
| std::size_t | startpos ) |
Definition at line 4539 of file state_events.h.
References add_row(), arrive_at(), line::qn::PollingInfo< T >::has_sw, line::qn::PollingInfo< T >::ksw, line::qn::PollingInfo< T >::M, line::qn::PollingInfo< T >::polled, line::qn::PollingInfo< T >::ring, line::qn::PollingInfo< T >::sw_pie, and walk().
Referenced by line::qn::polling_advance(), and walk().