Generated on Wed Jan 4 17:49:23 2006 for Gecode by doxygen 1.4.6

Gecode::Search::BabCopyEngine Class Reference

#include <bab-copy.hh>

Inherits Gecode::Search::BabEngine.

List of all members.


Detailed Description

Copying branch-and-bound engine implementation.

Definition at line 34 of file bab-copy.hh.

Public Member Functions

 BabCopyEngine (Space *, size_t)
virtual size_t stacksize (void) const
 Return stack size used by engine.
virtual ~BabCopyEngine (void)
virtual bool explore (Space *&, Space *&)
 Search for next better solution


Constructor & Destructor Documentation

Gecode::Search::BabCopyEngine::BabCopyEngine Space ,
size_t 
[inline]
 

Definition at line 25 of file bab-copy.icc.

Gecode::Search::BabCopyEngine::~BabCopyEngine void   )  [virtual]
 

Definition at line 40 of file bab-copy.cc.


Member Function Documentation

size_t Gecode::Search::BabCopyEngine::stacksize void   )  const [virtual]
 

Return stack size used by engine.

Implements Gecode::Search::BabEngine.

Definition at line 47 of file bab-copy.cc.

bool Gecode::Search::BabCopyEngine::explore Space *&  ,
Space *& 
[virtual]
 

Search for next better solution

If true is returned, a next better solution has been found. This solution is available from s1.

If false is returned, the engine requires that the space s1 is constrained to be better by the so-far best solution s2.

Implements Gecode::Search::BabEngine.

Definition at line 52 of file bab-copy.cc.


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