LINE Solver (C++)
Templated C++ port of the LINE queueing solver
Loading...
Searching...
No Matches
polling_info.h File Reference

State.pollingInfo and the controller description it returns. More...

#include <cstddef>
#include <vector>
#include "line/api/mam/map_moment.h"
#include "line/lang/lang_types.h"
#include "line/lang/qn/network_struct.h"
#include "line/util/error.h"
#include "line/util/matrix.h"
Include dependency graph for polling_info.h:

Go to the source code of this file.

Classes

struct  line::qn::PollingInfo< T >
 Port of State.pollingInfo: the derived description of a polling controller. More...

Namespaces

namespace  line
namespace  line::qn

Enumerations

enum class  line::qn::ProcessType
 Distribution kinds, with the values of MATLAB ProcessType. More...
enum class  line::qn::SchedStrategy
 Scheduling disciplines, with the values of MATLAB SchedStrategy. More...

Functions

template<class T>
PollingInfo< T > line::qn::polling_info (const NetworkStruct< T > &sn, std::size_t ind)

Detailed Description

State.pollingInfo and the controller description it returns.

IT LIVES IN ITS OWN HEADER because both sides of the State package need it and neither can include the other: from_marginal (state.h) has to ENUMERATE the controller configurations a station can occupy, and the event handlers (state_events.h) have to MOVE between them. Leaving it in state_events.h left from_marginal unable to emit the controller columns at all, so a polling station's states were built one block too narrow and the enumerated space contained no controller – the station then behaved as a capacity-one queue.

Definition in file polling_info.h.