Generated on for Gecode by doxygen 1.17.0
Test::Search::Increasing Class Reference

Stop object raising its node limit on each stop. More...

Public Member Functions

 Increasing (unsigned long long int s)
bool stop (const Gecode::Search::Statistics &s, const Gecode::Search::Options &) override
 Stop search, if returns true.
 Stop (void)
 Default constructor.
virtual ~Stop (void)
 Destructor.

Public Attributes

unsigned int stops

Additional Inherited Members

static Stop * node (unsigned long long int l)
 Stop if node limit l has been exceeded.
static Stop * fail (unsigned long long int l)
 Stop if failure limit l has been exceeded.
static Stop * time (double l)
 Stop if time limit l (in milliseconds) has been exceeded.
static Stop * restart (unsigned long long int l)
 Stop if restart limit l has been exceeded.
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

Stop object raising its node limit on each stop.

Definition at line 215 of file search.cpp.

Constructor & Destructor Documentation

◆ Increasing()

Test::Search::Increasing::Increasing ( unsigned long long int s)
inline

Definition at line 219 of file search.cpp.

Member Function Documentation

◆ stop()

bool Test::Search::Increasing::stop ( const Gecode::Search::Statistics & s,
const Gecode::Search::Options & o )
inlineoverridevirtual

Stop search, if returns true.

Implements Gecode::Search::Stop.

Definition at line 220 of file search.cpp.

Member Data Documentation

◆ stops

unsigned int Test::Search::Increasing::stops

Definition at line 218 of file search.cpp.


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