Generated on for Gecode by doxygen 1.17.0
Gecode::Search::Seq::CABSEngine Class Reference

Sequential CABS engine. More...

Public Member Functions

 CABSEngine (Space *s, const Options &o)
 Initialize for space s with options o.
bool limited (void) const override
 Whether search stopped at the width or frontier limit.
Public Member Functions inherited from Gecode::Search::WorkerToEngine< CABS >
 WorkerToEngine (Space *s, const Options &o)
 Initialization.
virtual Space * next (void)
 Return next solution (nullptr, if none exists or search has been stopped).
virtual Search::Statistics statistics (void) const
 Return statistics.
virtual bool stopped (void) const
 Check whether engine has been stopped.
virtual void constrain (const Space &b)
 Constrain future solutions to be better than b.
virtual void reset (Space *s)
 Reset engine to restart at space s.
virtual NoGoods & nogoods (void)
 Return no-goods.
Public Member Functions inherited from Gecode::Search::Engine
virtual ~Engine (void)
 Destructor.

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.
Protected Member Functions inherited from Gecode::Search::Engine
 Engine (void)
 Construct a meta engine without worker control.
 Engine (const Options &o, unsigned int capacity)
 Construct a leaf engine and bind worker control to capacity.
Protected Attributes inherited from Gecode::Search::WorkerToEngine< CABS >
CABS w
 The worker to wrap into an engine.
Protected Attributes inherited from Gecode::Search::Engine
WorkerControl worker_control
 Control retained for the lifetime of a leaf engine.

Detailed Description

Sequential CABS engine.

Definition at line 127 of file cabs.cpp.

Constructor & Destructor Documentation

◆ CABSEngine()

Gecode::Search::Seq::CABSEngine::CABSEngine ( Space * s,
const Options & o )
inline

Initialize for space s with options o.

Definition at line 130 of file cabs.cpp.

Member Function Documentation

◆ limited()

bool Gecode::Search::Seq::CABSEngine::limited ( void ) const
inlineoverridevirtual

Whether search stopped at the width or frontier limit.

Reimplemented from Gecode::Search::Engine.

Definition at line 132 of file cabs.cpp.


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