Generated on Thu Mar 22 10:39:59 2012 for Gecode by doxygen 1.6.3

Gecode::Search::Statistics Class Reference
[Search engines]

Search engine statistics More...

#include <search.hh>

List of all members.

Public Member Functions

 Statistics (void)
 Initialize.
void reset (void)
 Reset.
Statistics operator+ (const Statistics &s)
 Return sum with s.
Statisticsoperator+= (const Statistics &s)
 Increment by statistics s.

Public Attributes

unsigned long int fail
 Number of failed nodes in search tree.
unsigned long int node
 Number of nodes expanded.
unsigned long int depth
 Maximum depth of search stack.
size_t memory
 Peak memory allocated.

Detailed Description

Search engine statistics

Definition at line 105 of file search.hh.


Constructor & Destructor Documentation

Gecode::Search::Statistics::Statistics ( void   )  [inline]

Initialize.

Definition at line 49 of file statistics.hpp.


Member Function Documentation

void Gecode::Search::Statistics::reset ( void   )  [inline]

Reset.

Reimplemented from Gecode::StatusStatistics.

Reimplemented in Gecode::Search::Worker.

Definition at line 43 of file statistics.hpp.

Statistics Gecode::Search::Statistics::operator+ ( const Statistics s  )  [inline]

Return sum with s.

Definition at line 63 of file statistics.hpp.

Statistics & Gecode::Search::Statistics::operator+= ( const Statistics s  )  [inline]

Increment by statistics s.

Definition at line 53 of file statistics.hpp.


Member Data Documentation

Number of failed nodes in search tree.

Definition at line 108 of file search.hh.

Number of nodes expanded.

Definition at line 110 of file search.hh.

Maximum depth of search stack.

Definition at line 112 of file search.hh.

Peak memory allocated.

Definition at line 114 of file search.hh.


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