PPL API Reference
Overview Core Algorithm Abstractions Utilities Parallel Methods
Modules Class Hierarchy Classes Functions
Todo List Bug List Dead Code
List of all members | Public Member Functions | Public Attributes
StatClass Class Referencefinal

Public Member Functions

void ClearStats ()
 
int IncNumCollDetCalls (const std::string &_cdName, const std::string &_callName)
 
size_t GetIsCollTotal ()
 
void IncCfgIsColl (const std::string &_callName)
 
int IncLPConnections (const std::string &_lpName, int _incr=1)
 
int IncLPAttempts (const std::string &_lpName, int _incr=1)
 
int IncLPCollDetCalls (const std::string &_lpName, int _incr=1)
 
void IncNodesGenerated (const std::string &_samplerName, size_t _incr=1)
 
void IncNodesAttempted (const std::string &_samplerName, size_t _incr=1)
 
void ClearClock (const std::string &_name)
 
void StartClock (const std::string &_name)
 
void StopClock (const std::string &_name)
 
void StopPrintClock (const std::string &_name, std::ostream &_os)
 
void PrintClock (const std::string &_name, std::ostream &_os)
 
double GetSeconds (const std::string &_name)
 
int GetUSeconds (const std::string &_name)
 
double GetStat (const std::string &_s)
 
void SetStat (const std::string &_s, const double _v)
 
void IncStat (const std::string &_s, const double _v=1)
 
Average< double > & GetAverage (const std::string &_s)
 
std::vector< double > & GetHistory (const std::string &_s)
 
void AddToHistory (const std::string &_s, double _v)
 
void WriteHistory (const std::string &_s)
 
void SetAuxDest (const std::string &_s)
 
void PrintAllStats (std::ostream &_os)
 
template<typename RoadmapType >
void PrintAllStats (std::ostream &_os, RoadmapType *_rmap=nullptr)
 
template<class GraphType >
void DisplayCCStats (std::ostream &_os, GraphType &)
 

Public Attributes

std::map< std::string, std::tuple< size_t, size_t, size_t > > m_lpInfo
 
std::map< std::string, size_t > m_collDetCountByName
 
std::map< std::string, ClockClassm_clockMap
 
std::map< std::string, size_t > m_isCollByName
 
size_t m_isCollTotal
 
std::map< std::string, std::pair< size_t, size_t > > m_samplerInfo
 

Detailed Description

The StatClass is a storage hub of all statistics to be tracked in PMPL, including but not limited to timing, success/fail attempts, collision detection calls.

Member Data Documentation

◆ m_isCollByName

std::map<std::string, size_t> StatClass::m_isCollByName

IsColl simply counts the number of times a Cfg is tested for Collision.

See also
Cfg::isCollision

The documentation for this class was generated from the following files: