# Gecode::Search::Statistics Class Reference

[Search engines]

Search engine statistics More...

`#include <search.hh>`

## Public Member Functions | |

Statistics (void) | |

Initialize. | |

void | reset (void) |

Reset. | |

Statistics | operator+ (const Statistics &s) |

Return sum with s. | |

Statistics & | operator+= (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. | |

unsigned long int | restart |

Number of restarts. | |

unsigned long int | nogood |

Number of no-goods posted. |

## Detailed Description

Search engine statistics

Definition at line 149 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]` |

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

Return sum with *s*.

Definition at line 65 of file statistics.hpp.

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

Increment by statistics *s*.

Definition at line 54 of file statistics.hpp.

## Member Data Documentation

unsigned long int Gecode::Search::Statistics::fail |

unsigned long int Gecode::Search::Statistics::node |

unsigned long int Gecode::Search::Statistics::depth |

unsigned long int Gecode::Search::Statistics::restart |

unsigned long int Gecode::Search::Statistics::nogood |

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

- gecode/search.hh (Revision: 16529)
- gecode/search/statistics.hpp (Revision: 14967)