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

Classes

struct  PoolStart
 One successor of a pooled service start: the buffer, the servers, its weight and the class started. More...

Functions

template<class T>
void pool_start (const CtmcPool< T > &pool, const std::vector< std::size_t > &Ks, const std::vector< T > &buf, const std::vector< T > &srv, std::size_t s, std::size_t t, const T &w, std::vector< PoolStart< T > > &out)
 Class s starts service on pool t in every entry phase of the pool's block.
template<class T>
std::vector< PoolStart< T > > pool_serve_next (const NetworkStruct< T > &sn, const CtmcPool< T > &pool, SchedStrategy sched, const std::vector< std::size_t > &Ks, const std::vector< T > &buf, const std::vector< T > &srv, std::size_t t)
 The freed server of pool t takes the next compatible waiting job, in the discipline's order.

Function Documentation

◆ pool_serve_next()

template<class T>
std::vector< PoolStart< T > > line::qn::pool_detail::pool_serve_next ( const NetworkStruct< T > & sn,
const CtmcPool< T > & pool,
SchedStrategy sched,
const std::vector< std::size_t > & Ks,
const std::vector< T > & buf,
const std::vector< T > & srv,
std::size_t t )

The freed server of pool t takes the next compatible waiting job, in the discipline's order.

Definition at line 1904 of file state_events.h.

References line::qn::CtmcPool< T >::compat, pool_serve_next(), and pool_start().

Referenced by line::qn::after_event_station_pool(), and pool_serve_next().

◆ pool_start()

template<class T>
void line::qn::pool_detail::pool_start ( const CtmcPool< T > & pool,
const std::vector< std::size_t > & Ks,
const std::vector< T > & buf,
const std::vector< T > & srv,
std::size_t s,
std::size_t t,
const T & w,
std::vector< PoolStart< T > > & out )

Class s starts service on pool t in every entry phase of the pool's block.

Definition at line 1887 of file state_events.h.

References line::qn::CtmcPool< T >::alpha, line::qn::CtmcPool< T >::off, pool_start(), line::qn::CtmcPool< T >::pools, and line::qn::pool_detail::PoolStart< T >::srv.

Referenced by line::qn::after_event_station_pool(), pool_serve_next(), and pool_start().