Generated on Thu Jul 25 2019 00:00:00 for Gecode by doxygen 1.8.15
Gecode::Search::Config Namespace Reference

Search configuration More...

Variables

const bool clone = true
 Whether engines create a clone when being initialized. More...
 
const double threads = 1.0
 Number of threads to use. More...
 
const unsigned int c_d = 8
 Create a clone after every c_d commits (commit distance) More...
 
const unsigned int a_d = 2
 Create a clone during recomputation if distance is greater than a_d (adaptive distance) More...
 
const unsigned int steal_limit = 3
 Minimal number of open nodes for stealing. More...
 
const unsigned int initial_delay = 5
 Initial delay in milliseconds for all but first worker thread. More...
 
const unsigned int d_l = 5
 Default discrepancy limit for LDS. More...
 
const double base = 1.5
 Base for geometric restart sequence. More...
 
const unsigned int slice = 250
 Size of a slice in a portfolio and scale factor for restarts(in number of failures) More...
 
const unsigned int nogoods_limit = 128
 Depth limit for no-good generation during search. More...
 

Detailed Description

Search configuration

Variable Documentation

◆ clone

const bool Gecode::Search::Config::clone = true

Whether engines create a clone when being initialized.

Definition at line 104 of file search.hh.

◆ threads

const double Gecode::Search::Config::threads = 1.0

Number of threads to use.

Definition at line 106 of file search.hh.

◆ c_d

const unsigned int Gecode::Search::Config::c_d = 8

Create a clone after every c_d commits (commit distance)

Definition at line 109 of file search.hh.

◆ a_d

const unsigned int Gecode::Search::Config::a_d = 2

Create a clone during recomputation if distance is greater than a_d (adaptive distance)

Definition at line 111 of file search.hh.

◆ steal_limit

const unsigned int Gecode::Search::Config::steal_limit = 3

Minimal number of open nodes for stealing.

Definition at line 114 of file search.hh.

◆ initial_delay

const unsigned int Gecode::Search::Config::initial_delay = 5

Initial delay in milliseconds for all but first worker thread.

Definition at line 116 of file search.hh.

◆ d_l

const unsigned int Gecode::Search::Config::d_l = 5

Default discrepancy limit for LDS.

Definition at line 119 of file search.hh.

◆ base

const double Gecode::Search::Config::base = 1.5

Base for geometric restart sequence.

Definition at line 122 of file search.hh.

◆ slice

const unsigned int Gecode::Search::Config::slice = 250

Size of a slice in a portfolio and scale factor for restarts(in number of failures)

Definition at line 124 of file search.hh.

◆ nogoods_limit

const unsigned int Gecode::Search::Config::nogoods_limit = 128

Depth limit for no-good generation during search.

Definition at line 127 of file search.hh.