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

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

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

Public Attributes

SPNodeType type = SPNodeType::LEAF
std::size_t act = static_cast<std::size_t>(-1)
 Activity index for a LEAF, npos otherwise.
std::vector< std::size_t > kids
std::size_t parent = static_cast<std::size_t>(-1)
std::vector< T > probs
 Branch probabilities for an OR node.
count = num_traits<T>::from_int(0)
 Loop count for a LOOP node.
PhLaw< T > law
bool valid = false

Detailed Description

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

Definition at line 192 of file workflow.h.

Member Data Documentation

◆ act

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

Activity index for a LEAF, npos otherwise.

Definition at line 195 of file workflow.h.

◆ count

template<class T>
T line::workflow::SPNode< T >::count = num_traits<T>::from_int(0)

Loop count for a LOOP node.

Definition at line 201 of file workflow.h.

◆ kids

template<class T>
std::vector<std::size_t> line::workflow::SPNode< T >::kids

Definition at line 196 of file workflow.h.

◆ law

template<class T>
PhLaw<T> line::workflow::SPNode< T >::law

Definition at line 202 of file workflow.h.

Referenced by line::workflow::Workflow< T >::rescale_activity_leaf().

◆ parent

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

Definition at line 197 of file workflow.h.

◆ probs

template<class T>
std::vector<T> line::workflow::SPNode< T >::probs

Branch probabilities for an OR node.

Definition at line 199 of file workflow.h.

◆ type

template<class T>
SPNodeType line::workflow::SPNode< T >::type = SPNodeType::LEAF

Definition at line 193 of file workflow.h.

◆ valid

template<class T>
bool line::workflow::SPNode< T >::valid = false

Definition at line 203 of file workflow.h.

Referenced by line::workflow::Workflow< T >::rescale_activity_leaf().


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