![]() |
LINE Solver (C++)
Templated C++ port of the LINE queueing solver
|
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>
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 |
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.
| std::function<double(const std::vector<double>&)> line::qn::TransitionParam< T >::FluidFlowDep::fun |
Definition at line 403 of file network_struct.h.
Referenced by line::io::build_network_from_json(), and line::qn::Network< double >::set_mode_fluid_flow_dependence().
| std::size_t line::qn::TransitionParam< T >::FluidFlowDep::node = 0 |
Definition at line 402 of file network_struct.h.
Referenced by line::io::build_network_from_json(), and line::qn::Network< double >::set_mode_fluid_flow_dependence().
| std::vector<std::size_t> line::qn::TransitionParam< T >::FluidFlowDep::read |
Definition at line 404 of file network_struct.h.
Referenced by line::io::build_network_from_json(), and line::qn::Network< double >::set_mode_fluid_flow_dependence().
| bool line::qn::TransitionParam< T >::FluidFlowDep::read_given = false |
Definition at line 405 of file network_struct.h.
Referenced by line::io::build_network_from_json(), and line::qn::Network< double >::set_mode_fluid_flow_dependence().