clingo
|
A struct for aggregating statistics maintained in a solver object. More...
#include <solver_types.h>
Public Member Functions | |
SolverStats () | |
SolverStats (const SolverStats &o) | |
~SolverStats () | |
bool | enableStats (const SolverStats &other) |
int | level () const |
bool | enableExtended () |
bool | enableJump () |
void | enableQueue (uint32 size) |
void | reset () |
void | accu (const SolverStats &o) |
void | swapStats (SolverStats &o) |
double | operator[] (const char *key) const |
const char * | subKeys (const char *p) const |
const char * | keys (const char *path) const |
void | addLearnt (uint32 size, ConstraintType t) |
void | updateJumps (uint32 dl, uint32 uipLevel, uint32 bLevel, uint32 lbd) |
void | addDeleted (uint32 num) |
void | addDistributed (uint32 lbd, ConstraintType t) |
void | addTest (bool partial) |
void | addModel (uint32 decisionLevel) |
void | addCpuTime (double t) |
void | addSplit (uint32 num=1) |
void | addDomChoice (uint32 num=1) |
void | addIntegratedAsserting (uint32 receivedDL, uint32 jumpDL) |
void | addIntegrated (uint32 num=1) |
void | removeIntegrated (uint32 num=1) |
void | addPath (const LitVec::size_type &sz) |
Public Member Functions inherited from Clasp::CoreStats | |
CoreStats () | |
void | reset () |
void | accu (const CoreStats &o) |
double | operator[] (const char *key) const |
uint64 | backtracks () const |
uint64 | backjumps () const |
double | avgRestart () const |
Public Attributes | |
SumQueue * | queue |
ExtendedStats * | extra |
JumpStats * | jumps |
Additional Inherited Members | |
Static Public Member Functions inherited from Clasp::CoreStats | |
static const char * | keys (const char *path) |
A struct for aggregating statistics maintained in a solver object.
|
inline |
|
inline |
|
inline |
void Clasp::SolverStats::accu | ( | const SolverStats & | o | ) |
bool Clasp::SolverStats::enableExtended | ( | ) |
bool Clasp::SolverStats::enableJump | ( | ) |
void Clasp::SolverStats::enableQueue | ( | uint32 | size | ) |
bool Clasp::SolverStats::enableStats | ( | const SolverStats & | other | ) |
|
inline |
|
inline |
double Clasp::SolverStats::operator[] | ( | const char * | key | ) | const |
void Clasp::SolverStats::reset | ( | ) |
const char * Clasp::SolverStats::subKeys | ( | const char * | p | ) | const |
void Clasp::SolverStats::swapStats | ( | SolverStats & | o | ) |
ExtendedStats* Clasp::SolverStats::extra |
Optional extended statistics.
JumpStats* Clasp::SolverStats::jumps |
Optional jump statistics.
SumQueue* Clasp::SolverStats::queue |
Optional queue for running averages.