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

The flat feature vector the recommendation reads. More...

#include <line/api/wf/wf_auto_integration.h>

Collaboration diagram for line::wf::WorkflowFeatures< T >:

Public Attributes

bool hasSequencePatterns = false
bool hasParallelPatterns = false
bool hasLoopPatterns = false
bool hasBranchPatterns = false
std::size_t numSequences = 0
std::size_t numParallels = 0
std::size_t numLoops = 0
std::size_t numBranches = 0
std::size_t originalNodeCount = 0
std::size_t originalLinkCount = 0
std::size_t optimizedNodeCount = 0
std::size_t optimizedLinkCount = 0
avgSequenceLength = num_traits<T>::from_int(0)
std::size_t maxSequenceLength = 0
avgParallelism = num_traits<T>::from_int(0)
std::size_t maxParallelism = 0
avgLoopProbability = num_traits<T>::from_int(0)
maxLoopProbability = num_traits<T>::from_int(0)
avgBranches = num_traits<T>::from_int(0)
std::size_t maxBranches = 0
avgBranchEntropy = num_traits<T>::from_int(0)

Detailed Description

template<class T>
struct line::wf::WorkflowFeatures< T >

The flat feature vector the recommendation reads.

The four has* flags decide which of the remaining groups carry meaning; the rest keep the Java's zero defaults so an unpopulated group is neutral.

Definition at line 85 of file wf_auto_integration.h.

Member Data Documentation

◆ avgBranchEntropy

template<class T>
T line::wf::WorkflowFeatures< T >::avgBranchEntropy = num_traits<T>::from_int(0)

◆ avgBranches

template<class T>
T line::wf::WorkflowFeatures< T >::avgBranches = num_traits<T>::from_int(0)

Definition at line 99 of file wf_auto_integration.h.

Referenced by line::wf::extract_workflow_features().

◆ avgLoopProbability

template<class T>
T line::wf::WorkflowFeatures< T >::avgLoopProbability = num_traits<T>::from_int(0)

◆ avgParallelism

template<class T>
T line::wf::WorkflowFeatures< T >::avgParallelism = num_traits<T>::from_int(0)

Definition at line 95 of file wf_auto_integration.h.

Referenced by line::wf::extract_workflow_features().

◆ avgSequenceLength

template<class T>
T line::wf::WorkflowFeatures< T >::avgSequenceLength = num_traits<T>::from_int(0)

Definition at line 93 of file wf_auto_integration.h.

Referenced by line::wf::extract_workflow_features().

◆ hasBranchPatterns

template<class T>
bool line::wf::WorkflowFeatures< T >::hasBranchPatterns = false

◆ hasLoopPatterns

template<class T>
bool line::wf::WorkflowFeatures< T >::hasLoopPatterns = false

◆ hasParallelPatterns

template<class T>
bool line::wf::WorkflowFeatures< T >::hasParallelPatterns = false

◆ hasSequencePatterns

template<class T>
bool line::wf::WorkflowFeatures< T >::hasSequencePatterns = false

◆ maxBranches

template<class T>
std::size_t line::wf::WorkflowFeatures< T >::maxBranches = 0

◆ maxLoopProbability

template<class T>
T line::wf::WorkflowFeatures< T >::maxLoopProbability = num_traits<T>::from_int(0)

◆ maxParallelism

template<class T>
std::size_t line::wf::WorkflowFeatures< T >::maxParallelism = 0

◆ maxSequenceLength

template<class T>
std::size_t line::wf::WorkflowFeatures< T >::maxSequenceLength = 0

◆ numBranches

template<class T>
std::size_t line::wf::WorkflowFeatures< T >::numBranches = 0

Definition at line 90 of file wf_auto_integration.h.

Referenced by line::wf::extract_workflow_features().

◆ numLoops

template<class T>
std::size_t line::wf::WorkflowFeatures< T >::numLoops = 0

Definition at line 90 of file wf_auto_integration.h.

Referenced by line::wf::extract_workflow_features().

◆ numParallels

template<class T>
std::size_t line::wf::WorkflowFeatures< T >::numParallels = 0

Definition at line 90 of file wf_auto_integration.h.

Referenced by line::wf::extract_workflow_features().

◆ numSequences

template<class T>
std::size_t line::wf::WorkflowFeatures< T >::numSequences = 0

Definition at line 90 of file wf_auto_integration.h.

Referenced by line::wf::extract_workflow_features().

◆ optimizedLinkCount

template<class T>
std::size_t line::wf::WorkflowFeatures< T >::optimizedLinkCount = 0

Definition at line 92 of file wf_auto_integration.h.

Referenced by line::wf::extract_workflow_features().

◆ optimizedNodeCount

template<class T>
std::size_t line::wf::WorkflowFeatures< T >::optimizedNodeCount = 0

◆ originalLinkCount

template<class T>
std::size_t line::wf::WorkflowFeatures< T >::originalLinkCount = 0

Definition at line 91 of file wf_auto_integration.h.

Referenced by line::wf::extract_workflow_features().

◆ originalNodeCount

template<class T>
std::size_t line::wf::WorkflowFeatures< T >::originalNodeCount = 0

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