![]() |
LINE Solver (C++)
Templated C++ port of the LINE queueing solver
|
A computational activity. More...
#include <line/lang/workflow/workflow.h>
Public Member Functions | |
| WorkflowActivity ()=default | |
| WorkflowActivity (const std::string &name, const Distrib< T > &host_demand) | |
| const std::string & | name () const |
| const Distrib< T > & | host_demand () const |
| void | set_host_demand (const Distrib< T > &d) |
| T | host_demand_mean () const |
| T | host_demand_scv () const |
| PhLaw< T > | ph_representation () const |
| The (alpha, T) pair of this activity. | |
| std::size_t | num_phases () const |
A computational activity.
Carries no call list: an external call is an activity whose host demand is the law of the call response time.
Definition at line 101 of file workflow.h.
|
default |
|
inline |
Definition at line 104 of file workflow.h.
References host_demand(), and name().
|
inline |
Definition at line 109 of file workflow.h.
Referenced by WorkflowActivity().
|
inline |
Definition at line 112 of file workflow.h.
|
inline |
Definition at line 113 of file workflow.h.
|
inline |
Definition at line 107 of file workflow.h.
Referenced by WorkflowActivity().
|
inline |
Definition at line 150 of file workflow.h.
References ph_representation().
|
inline |
The (alpha, T) pair of this activity.
A zero-time activity is one immediate phase, the representation used throughout this class; a Markovian law hands back its own pair; anything else is fitted to an acyclic phase-type on its first two moments, as the MATLAB and JAR twins do.
Definition at line 123 of file workflow.h.
References line::workflow::PhLaw< T >::alpha, line::lang::aph_fit_mean_scv(), line::lang::Distrib< T >::D0, line::workflow::GlobalConstants::FineTol, line::workflow::GlobalConstants::Immediate, line::Matrix< T >::Matrix(), and line::workflow::PhLaw< T >::S.
Referenced by num_phases().
|
inline |
Definition at line 110 of file workflow.h.