Generated on Mon Aug 25 11:35:53 2008 for Gecode by doxygen 1.5.6

Gecode::Search::Options Class Reference

#include <search.hh>

List of all members.


Detailed Description

Search engine options

Defines options for search engines. Not all search engines might honor all option values.

  • c_d as minimal recomputation distance: this guarantees that a path between two nodes in the search tree for which copies are stored has at least length c_d. That is, in order to recompute a node in the search tree, c_d recomputation steps are needed. The minimal recomputation distance yields a guarantee on saving memory compared to full copying: it stores c_d times less nodes than full copying.
  • a_d as adaptive recomputation distance: when a node needs to be recomputed and the path is longer than a_d, an intermediate copy is created (approximately in the middle of the path) to speed up future recomputation. Note that small values of a_d can increase the memory consumption considerably.

Full copying corresponds to a maximal recomputation distance c_d of 1.

All recomputation performed is based on batch recomputation: batch recomputation performs propagation only once for an entire path used in recomputation.

Definition at line 224 of file search.hh.


Public Member Functions

 Options (void)
 Initialize with default values.

Public Attributes

unsigned int c_d
 Create a clone after every c_d commits.
unsigned int a_d
 Create a clone during recomputation if distance is greater than a_d.
Stopstop
 Stop object for stopping search.

Static Public Attributes

static const Options def
 Default options.

Constructor & Destructor Documentation

Options::Options ( void   )  [inline]

Initialize with default values.

Definition at line 41 of file options.icc.


Member Data Documentation

Create a clone after every c_d commits.

Definition at line 227 of file search.hh.

Create a clone during recomputation if distance is greater than a_d.

Definition at line 229 of file search.hh.

Stop object for stopping search.

Definition at line 231 of file search.hh.

const Options Options::def [static]

Default options.

Definition at line 233 of file search.hh.


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