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

The flat series-parallel tree. More...

#include <line/lang/workflow/workflow.h>

Collaboration diagram for line::workflow::SPTree< T >:

Public Attributes

std::vector< SPNode< T > > nodes
std::size_t root = static_cast<std::size_t>(-1)
std::vector< std::size_t > leaf_of
 Node index of each activity's leaf, npos when the activity has none.
std::vector< T > execs

Detailed Description

template<class T>
struct line::workflow::SPTree< T >

The flat series-parallel tree.

execs carries the expected number of executions of each node per workflow execution, which is the weight by which an LQN metric reconstruction splits a layer result back over entries, activities and calls.

Definition at line 214 of file workflow.h.

Member Data Documentation

◆ execs

template<class T>
std::vector<T> line::workflow::SPTree< T >::execs

Definition at line 219 of file workflow.h.

Referenced by line::api::lqn::entry_workflow().

◆ leaf_of

template<class T>
std::vector<std::size_t> line::workflow::SPTree< T >::leaf_of

Node index of each activity's leaf, npos when the activity has none.

Definition at line 218 of file workflow.h.

Referenced by line::api::lqn::entry_workflow().

◆ nodes

template<class T>
std::vector<SPNode<T> > line::workflow::SPTree< T >::nodes

Definition at line 215 of file workflow.h.

Referenced by line::api::lqn::detail_compose_serialized().

◆ root

template<class T>
std::size_t line::workflow::SPTree< T >::root = static_cast<std::size_t>(-1)

Definition at line 216 of file workflow.h.

Referenced by line::api::lqn::serial_law().


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