Stop-object based on number of restarts
More...
#include <gecode/search.hh>
|
| std::atomic< unsigned long long int > | l |
| | Restart limit.
|
|
| 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 void * | operator new (size_t s) |
| | Memory management.
|
| static void | operator delete (void *p) |
| | Free memory allocated from heap.
|
Stop-object based on number of restarts
Definition at line 915 of file search.hh.
◆ RestartStop() [1/2]
| Gecode::Search::RestartStop::RestartStop |
( |
unsigned long long int | l | ) |
|
|
inline |
Stop if restart limit l is exceeded.
Definition at line 149 of file stop.hpp.
◆ RestartStop() [2/2]
| Gecode::Search::RestartStop::RestartStop |
( |
const RestartStop & | s | ) |
|
|
inline |
Copy constructor.
Definition at line 151 of file stop.hpp.
◆ operator=()
Assignment operator.
Definition at line 153 of file stop.hpp.
◆ limit() [1/2]
| unsigned long long int Gecode::Search::RestartStop::limit |
( |
void | | ) |
const |
|
inline |
Return current limit.
Definition at line 160 of file stop.hpp.
◆ limit() [2/2]
| void Gecode::Search::RestartStop::limit |
( |
unsigned long long int | l | ) |
|
|
inline |
Set current limit to l restarts.
Definition at line 165 of file stop.hpp.
◆ stop()
| virtual bool Gecode::Search::RestartStop::stop |
( |
const Statistics & | s, |
|
|
const Options & | o ) |
|
virtual |
| std::atomic<unsigned long long int> Gecode::Search::RestartStop::l |
|
protected |
The documentation for this class was generated from the following files: