Generated on for Gecode by doxygen 1.17.0

Base-class for Stop-object. More...

#include <gecode/search.hh>

Constructors and member functions

 Stop (void)
 Default constructor.
virtual bool stop (const Statistics &s, const Options &o)=0
 Stop search, if returns true.
virtual ~Stop (void)
 Destructor.

Predefined stop objects

static Stopnode (unsigned long long int l)
 Stop if node limit l has been exceeded.
static Stopfail (unsigned long long int l)
 Stop if failure limit l has been exceeded.
static Stoptime (double l)
 Stop if time limit l (in milliseconds) has been exceeded.
static Stoprestart (unsigned long long int l)
 Stop if restart limit l has been exceeded.

Additional Inherited Members

Static Public Member Functions inherited from Gecode::HeapAllocated
static void * operator new (size_t s)
 Memory management.
static void operator delete (void *p)
 Free memory allocated from heap.

Detailed Description

Base-class for Stop-object.

Definition at line 804 of file search.hh.

Constructor & Destructor Documentation

◆ Stop()

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

Default constructor.

Definition at line 45 of file stop.hpp.

◆ ~Stop()

Gecode::Search::Stop::~Stop ( void )
inlinevirtual

Destructor.

Definition at line 47 of file stop.hpp.

Member Function Documentation

◆ stop()

◆ node()

Stop * Gecode::Search::Stop::node ( unsigned long long int l)
static

Stop if node limit l has been exceeded.

◆ fail()

Stop * Gecode::Search::Stop::fail ( unsigned long long int l)
static

Stop if failure limit l has been exceeded.

◆ time()

Stop * Gecode::Search::Stop::time ( double l)
static

Stop if time limit l (in milliseconds) has been exceeded.

◆ restart()

Stop * Gecode::Search::Stop::restart ( unsigned long long int l)
static

Stop if restart limit l has been exceeded.


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