LINE Solver (C++)
Templated C++ port of the LINE queueing solver
Loading...
Searching...
No Matches
line::lqn::focus_detail Namespace Reference

Classes

struct  Call
struct  Inv
struct  Om
struct  Sat

Functions

double nan_ ()
bool is_prio (SchedStrategy s)
double dmean (const Distrib< double > &d)
bool has_time (const Distrib< double > &d)
void fail (const std::string &msg)
std::size_t index_of (const std::vector< std::string > &v, const std::string &s)
Inv inventory (const LqnModel< double > &m)
double z (double v)
Om solve (const LqnModel< double > &m, const LqnFocusOptions &opt, const Inv &inv)
Sat saturation (const Inv &inv, const Om &om)
void closure (const Inv &inv, std::vector< bool > &PT, std::vector< bool > &PH)
std::string unique_name (std::set< std::string > &all, std::string nm)
std::string map_name (int g, const std::string &name, const std::vector< LqnFocusGroup > &grp, bool task)
LqnFocusResult build (const LqnModel< double > &model, const Inv &inv, const Om &om, const Sat &sat, std::vector< bool > PT, std::vector< bool > PH, const LqnFocusOptions &opt, bool validate)

Function Documentation

◆ build()

LqnFocusResult line::lqn::focus_detail::build ( const LqnModel< double > & model,
const Inv & inv,
const Om & om,
const Sat & sat,
std::vector< bool > PT,
std::vector< bool > PH,
const LqnFocusOptions & opt,
bool validate )
inline

Definition at line 323 of file lqn_focus.h.

References line::lqn::LqnFocusResult::activityMap, line::lqn::LqnModel< T >::acts, line::lqn::LqnFocusGroup::aggActivity, line::lqn::LqnFocusGroup::aggEntry, line::lqn::LqnFocusGroup::aggHost, line::lqn::LqnFocusGroup::aggTask, line::lqn::LqnStruct< T >::ashift, line::lqn::focus_detail::Om::aX, build(), line::lqn::LqnFocusGroup::callDests, line::lqn::LqnFocusGroup::callMeans, closure(), line::lqn::LqnFocusGroup::demand, dmean(), line::lqn::LqnFocusResult::droppedTasks, line::lqn::LqnModel< T >::entries, line::lqn::LqnFocusResult::entryMap, line::lqn::focus_detail::Om::eQ, line::lqn::focus_detail::Om::eR, line::lqn::LqnFocusResult::err, line::lqn::LqnFocusResult::errRef, line::lqn::LqnFocusResult::errResp, line::lqn::LqnFocusResult::errRespRef, line::lqn::LqnStruct< T >::eshift, line::lqn::focus_detail::Om::eU, line::lqn::focus_detail::Om::eX, line::lqn::Distrib< T >::exp_mean(), line::lqn::LqnFocusResult::F, fail(), line::lqn::LqnFocusResult::fm, line::lqn::LqnFocusResult::forcedTasks, line::lqn::LqnFocusResult::FT, line::ln::SolverLN< T >::get_ensemble_avg(), line::lqn::LqnFocusResult::groups, line::lqn::LqnFocusResult::hostMap, line::lqn::LqnFocusGroup::hostMult, line::lqn::LqnFocusResult::hostNames, line::lqn::LqnFocusResult::hostSat, line::lqn::LqnFocusGroup::hostSpeed, line::lqn::focus_detail::Om::hQ, line::lqn::focus_detail::Om::hU, line::lqn::Distrib< T >::immediate(), index_of(), line::lqn::lqn_finalize(), line::lqn::LqnFocusGroup::mult, line::lqn::LqnModel< T >::name, line::lqn::LqnFocusRetained::names, line::lqn::LqnStruct< T >::names, nan_(), line::lqn::LqnStruct< T >::nhosts, line::lqn::LqnFocusGroup::pi, line::lqn::LqnFocusResult::preservedHosts, line::lqn::LqnFocusResult::preservedMask, line::lqn::LqnFocusResult::preservedTasks, line::lqn::LqnModel< T >::procs, line::lqn::LqnFocusRetained::Q_fm, line::lqn::LqnFocusRetained::Q_om, line::ln::LnSolution< T >::QN, line::lqn::LqnFocusRetained::R_fm, line::lqn::LqnFocusRetained::R_om, line::lqn::LqnFocusGroup::rate, line::lqn::LqnFocusResult::retained, line::ln::LnSolution< T >::RN, line::lqn::focus_detail::Sat::SH, line::lqn::focus_detail::Sat::SHT, line::lqn::LqnFocusResult::SR, line::lqn::focus_detail::Sat::ST, line::lqn::LqnFocusResult::taskMap, line::lqn::LqnFocusResult::taskNames, line::lqn::LqnFocusGroup::tasks, line::lqn::LqnModel< T >::tasks, line::lqn::LqnFocusResult::taskSat, line::ln::LnSolution< T >::TN, line::lqn::focus_detail::Om::tQ, line::lqn::LqnStruct< T >::tshift, line::lqn::focus_detail::Om::tU, line::lqn::focus_detail::Om::tX, line::lqn::LqnFocusRetained::types, line::lqn::LqnFocusRetained::U_fm, line::lqn::LqnFocusRetained::U_om, line::ln::LnSolution< T >::UN, unique_name(), line::lqn::LqnFocusRetained::X_fm, and line::lqn::LqnFocusRetained::X_om.

Referenced by build().

◆ closure()

void line::lqn::focus_detail::closure ( const Inv & inv,
std::vector< bool > & PT,
std::vector< bool > & PH )
inline

Definition at line 304 of file lqn_focus.h.

References closure().

Referenced by build(), and closure().

◆ dmean()

double line::lqn::focus_detail::dmean ( const Distrib< double > & d)
inline

◆ fail()

void line::lqn::focus_detail::fail ( const std::string & msg)
inline

Definition at line 153 of file lqn_focus.h.

References fail().

Referenced by build(), fail(), and inventory().

◆ has_time()

bool line::lqn::focus_detail::has_time ( const Distrib< double > & d)
inline

Definition at line 127 of file lqn_focus.h.

References dmean(), and has_time().

Referenced by has_time(), and inventory().

◆ index_of()

std::size_t line::lqn::focus_detail::index_of ( const std::vector< std::string > & v,
const std::string & s )
inline

Definition at line 155 of file lqn_focus.h.

References index_of().

Referenced by build(), index_of(), and inventory().

◆ inventory()

◆ is_prio()

bool line::lqn::focus_detail::is_prio ( SchedStrategy s)
inline

Definition at line 116 of file lqn_focus.h.

References is_prio().

Referenced by inventory(), and is_prio().

◆ map_name()

std::string line::lqn::focus_detail::map_name ( int g,
const std::string & name,
const std::vector< LqnFocusGroup > & grp,
bool task )
inline

Definition at line 317 of file lqn_focus.h.

References map_name().

Referenced by map_name().

◆ nan_()

double line::lqn::focus_detail::nan_ ( )
inline

Definition at line 114 of file lqn_focus.h.

References nan_().

Referenced by build(), and nan_().

◆ saturation()

Sat line::lqn::focus_detail::saturation ( const Inv & inv,
const Om & om )
inline

◆ solve()

◆ unique_name()

std::string line::lqn::focus_detail::unique_name ( std::set< std::string > & all,
std::string nm )
inline

Definition at line 311 of file lqn_focus.h.

References unique_name().

Referenced by build(), and unique_name().

◆ z()

double line::lqn::focus_detail::z ( double v)
inline

Definition at line 261 of file lqn_focus.h.

References z().

Referenced by solve(), and z().