Generated on Wed Nov 1 15:04:51 2006 for Gecode by doxygen 1.4.5

Options Class Reference

#include <support.hh>

Inherited by ExtOptions.

List of all members.


Detailed Description

Class for options for examples.

Definition at line 52 of file support.hh.

Public Member Functions

 Options (const char *s)
 Initialize options for example with name s.
void parse (int argc, char **argv)
 Parse options from arguments argv (number is argc).

Public Attributes

IntConLevel icl
 integer consistency level
unsigned int c_d
 recomputation copy distance
unsigned int a_d
 recomputation adaption distance
ExampleMode mode
 in which mode to run
bool quiet
 quiet mode
unsigned int samples
 how many samples
unsigned int iterations
 how many iterations per sample
unsigned int solutions
 how many solutions (0 == all)
int fails
 number of fails before stopping search
int time
 allowed time before stopping search
bool naive
 use naive version
unsigned int size
 problem size/variant
const char * name
 name of problem


Constructor & Destructor Documentation

Options::Options const char *  s  )  [inline]
 

Initialize options for example with name s.

Definition at line 23 of file support.icc.


Member Function Documentation

void Options::parse int  argc,
char **  argv
 

Parse options from arguments argv (number is argc).

Definition at line 39 of file support.cc.


Member Data Documentation

IntConLevel Options::icl
 

integer consistency level

Definition at line 54 of file support.hh.

unsigned int Options::c_d
 

recomputation copy distance

Definition at line 55 of file support.hh.

unsigned int Options::a_d
 

recomputation adaption distance

Definition at line 56 of file support.hh.

ExampleMode Options::mode
 

in which mode to run

Definition at line 57 of file support.hh.

bool Options::quiet
 

quiet mode

Definition at line 58 of file support.hh.

unsigned int Options::samples
 

how many samples

Definition at line 59 of file support.hh.

unsigned int Options::iterations
 

how many iterations per sample

Definition at line 60 of file support.hh.

unsigned int Options::solutions
 

how many solutions (0 == all)

Definition at line 61 of file support.hh.

int Options::fails
 

number of fails before stopping search

Definition at line 62 of file support.hh.

int Options::time
 

allowed time before stopping search

Definition at line 63 of file support.hh.

bool Options::naive
 

use naive version

Definition at line 64 of file support.hh.

unsigned int Options::size
 

problem size/variant

Definition at line 65 of file support.hh.

const char* Options::name
 

name of problem

Definition at line 66 of file support.hh.


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