AGX Dynamics  2.37.2.0
agx::McpAlgorithmStats Class Reference

Storage location for solver statistics. More...

#include <MixedLCP.h>

Public Member Functions

void addStats (const McpAlgorithmStats &other)
 
void clear (size_t numEquations)
 
bool getEnableGatherStatistics () const
 
const std::vector< UInt > & numFreeEquationsAtEnd () const
 
const std::vector< UInt > & numKellerMakeFeasibleIterations () const
 
const std::vector< UInt > & numKellerSearchIterations () const
 
const std::vector< UInt > & numMurtyIterations () const
 
UInt numNlMixedCpIterations () const
 
void reportAddedAndRemovedEquations (const agxSabre::UInt32Vector &add, const agxSabre::UInt32Vector &del)
 
void reportKellerMakeFeasibleIterations (UInt numIterations)
 
void reportKellerSearchIterations (UInt numIterations)
 
void reportMurtyIterations (UInt numIterations)
 
void reportNumFreeEquationsAtEnd (const agx::IndexSet &indexSet)
 
void reportNumNlMixedCpIterations (UInt numIterations)
 
void setEnableGatherStatistics (bool enable)
 
void setNumEquations (size_t numEquations)
 
const std::vector< int > & timesAdded () const
 
const std::vector< int > & timesRemoved () const
 

Detailed Description

Storage location for solver statistics.

Each McpAlgorithm holds one of these and records events of interest throughout the solve. It is important that the there is one of these per algorithm, per solve island, and that it is re-created every new step forward.

Definition at line 49 of file MixedLCP.h.

Member Function Documentation

◆ addStats()

void agx::McpAlgorithmStats::addStats ( const McpAlgorithmStats &  other)

◆ clear()

void agx::McpAlgorithmStats::clear ( size_t  numEquations)

◆ getEnableGatherStatistics()

bool agx::McpAlgorithmStats::getEnableGatherStatistics ( ) const

◆ numFreeEquationsAtEnd()

const std::vector<UInt>& agx::McpAlgorithmStats::numFreeEquationsAtEnd ( ) const

◆ numKellerMakeFeasibleIterations()

const std::vector<UInt>& agx::McpAlgorithmStats::numKellerMakeFeasibleIterations ( ) const

◆ numKellerSearchIterations()

const std::vector<UInt>& agx::McpAlgorithmStats::numKellerSearchIterations ( ) const

◆ numMurtyIterations()

const std::vector<UInt>& agx::McpAlgorithmStats::numMurtyIterations ( ) const

◆ numNlMixedCpIterations()

UInt agx::McpAlgorithmStats::numNlMixedCpIterations ( ) const

◆ reportAddedAndRemovedEquations()

void agx::McpAlgorithmStats::reportAddedAndRemovedEquations ( const agxSabre::UInt32Vector &  add,
const agxSabre::UInt32Vector &  del 
)

◆ reportKellerMakeFeasibleIterations()

void agx::McpAlgorithmStats::reportKellerMakeFeasibleIterations ( UInt  numIterations)

◆ reportKellerSearchIterations()

void agx::McpAlgorithmStats::reportKellerSearchIterations ( UInt  numIterations)

◆ reportMurtyIterations()

void agx::McpAlgorithmStats::reportMurtyIterations ( UInt  numIterations)

◆ reportNumFreeEquationsAtEnd()

void agx::McpAlgorithmStats::reportNumFreeEquationsAtEnd ( const agx::IndexSet &  indexSet)

◆ reportNumNlMixedCpIterations()

void agx::McpAlgorithmStats::reportNumNlMixedCpIterations ( UInt  numIterations)

◆ setEnableGatherStatistics()

void agx::McpAlgorithmStats::setEnableGatherStatistics ( bool  enable)

◆ setNumEquations()

void agx::McpAlgorithmStats::setNumEquations ( size_t  numEquations)

◆ timesAdded()

const std::vector<int>& agx::McpAlgorithmStats::timesAdded ( ) const

◆ timesRemoved()

const std::vector<int>& agx::McpAlgorithmStats::timesRemoved ( ) const

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