LINE Solver (C++)
Templated C++ port of the LINE queueing solver
Loading...
Searching...
No Matches
line::qn::TransitionParam< T >::FluidFlowDep Struct Reference

A marking-dependent fluid flow (setFluidFlowDependence): the flow of the mode on fluid place node is multiplied by fun(M). More...

#include <line/lang/qn/network_struct.h>

Collaboration diagram for line::qn::TransitionParam< T >::FluidFlowDep:

Public Attributes

std::size_t node = 0
std::function< double(const std::vector< double > &)> fun
std::vector< std::size_t > read
bool read_given = false

Detailed Description

template<class T>
struct line::qn::TransitionParam< T >::FluidFlowDep

A marking-dependent fluid flow (setFluidFlowDependence): the flow of the mode on fluid place node is multiplied by fun(M).

M is the (nnodes x nclasses) marking flattened row-major, entry (i-1)*nclasses + (r-1) for 1-based node i and class r, holding the token places read and 0 in every other row. read names the mode's input places unless read_given; the builder resolves it at get_struct(), as refreshPetriNetNodes.

Definition at line 401 of file network_struct.h.

Member Data Documentation

◆ fun

template<class T>
std::function<double(const std::vector<double>&)> line::qn::TransitionParam< T >::FluidFlowDep::fun

◆ node

template<class T>
std::size_t line::qn::TransitionParam< T >::FluidFlowDep::node = 0

◆ read

template<class T>
std::vector<std::size_t> line::qn::TransitionParam< T >::FluidFlowDep::read

◆ read_given

template<class T>
bool line::qn::TransitionParam< T >::FluidFlowDep::read_given = false

The documentation for this struct was generated from the following file: