Base-class for Stop-object.
More...
#include <gecode/search.hh>
|
| 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.
|
Base-class for Stop-object.
Definition at line 804 of file search.hh.
◆ 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.
◆ stop()
Stop search, if returns true.
Implemented in FailTimeStop, Gecode::Driver::CombinedStop, Gecode::FlatZinc::FlatZincStop, Gecode::Search::FailStop, Gecode::Search::NodeStop, Gecode::Search::Par::PortfolioStop, Gecode::Search::RestartStop, Gecode::Search::Seq::PortfolioStop, Gecode::Search::Seq::RestartStop, and Gecode::Search::TimeStop.
◆ node()
| Stop * Gecode::Search::Stop::node |
( |
unsigned long long int | l | ) |
|
|
static |
Stop if node limit l has been exceeded.
Definition at line 47 of file stop.cpp.
◆ fail()
| Stop * Gecode::Search::Stop::fail |
( |
unsigned long long int | l | ) |
|
|
static |
Stop if failure limit l has been exceeded.
Definition at line 51 of file stop.cpp.
◆ time()
| Stop * Gecode::Search::Stop::time |
( |
double | l | ) |
|
|
static |
Stop if time limit l (in milliseconds) has been exceeded.
Definition at line 55 of file stop.cpp.
◆ restart()
| Stop * Gecode::Search::Stop::restart |
( |
unsigned long long int | l | ) |
|
|
static |
Stop if restart limit l has been exceeded.
Definition at line 59 of file stop.cpp.
The documentation for this class was generated from the following files: