Generated on Mon Aug 25 11:35:53 2008 for Gecode by doxygen 1.5.6

Gecode::Search::Stop Class Reference
[Stop-objects for stopping search]

#include <search.hh>

Inherited by Gecode::Search::FailStop, Gecode::Search::MemoryStop, and Gecode::Search::TimeStop.

List of all members.


Detailed Description

Base-class for Stop-object.

Definition at line 122 of file search.hh.


Public Member Functions

 Stop (void)
 Default constructor.
virtual bool stop (const Statistics &s)=0
 Stop search, if returns true (can be based on statistics s).
virtual ~Stop (void)
 Destructor.

Constructor & Destructor Documentation

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

Default constructor.

Definition at line 45 of file stop.icc.

Gecode::Search::Stop::~Stop ( void   )  [inline, virtual]

Destructor.

Definition at line 48 of file stop.icc.


Member Function Documentation

virtual bool Gecode::Search::Stop::stop ( const Statistics s  )  [pure virtual]

Stop search, if returns true (can be based on statistics s).

Implemented in Gecode::Search::MemoryStop, Gecode::Search::FailStop, and Gecode::Search::TimeStop.


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