Generated on Thu Mar 22 10:39:51 2012 for Gecode by doxygen 1.6.3

EFPAOptions Class Reference

Options for EFPA problems More...

List of all members.

Public Member Functions

 EFPAOptions (const char *s, int v0=5, int q0=3, int lambda0=2, int d0=4)
 Initialize options for example with name s.
void parse (int &argc, char *argv[])
 Parse options from arguments argv (number is argc).
int v (void) const
 Get v, number of sequences.
int q (void) const
 Get q, number of symbols.
int l (void) const
 Get lambda, sets of symbols per sequence.
int d (void) const
 Get d, Hamming distance between sequences.
bool permutation (void) const
 Whether to use permutation constraints. Only active if d=4.
bool symmetry (void) const
 Whether to use symmetry breaking.

Detailed Description

Options for EFPA problems

Definition at line 49 of file efpa.cpp.


Constructor & Destructor Documentation

EFPAOptions::EFPAOptions ( const char *  s,
int  v0 = 5,
int  q0 = 3,
int  lambda0 = 2,
int  d0 = 4 
) [inline]

Initialize options for example with name s.

Definition at line 59 of file efpa.cpp.


Member Function Documentation

void EFPAOptions::parse ( int &  argc,
char *  argv[] 
) [inline]

Parse options from arguments argv (number is argc).

Reimplemented from Gecode::BaseOptions.

Definition at line 85 of file efpa.cpp.

int EFPAOptions::v ( void   )  const [inline]

Get v, number of sequences.

Definition at line 89 of file efpa.cpp.

int EFPAOptions::q ( void   )  const [inline]

Get q, number of symbols.

Definition at line 91 of file efpa.cpp.

int EFPAOptions::l ( void   )  const [inline]

Get lambda, sets of symbols per sequence.

Definition at line 93 of file efpa.cpp.

int EFPAOptions::d ( void   )  const [inline]

Get d, Hamming distance between sequences.

Definition at line 95 of file efpa.cpp.

bool EFPAOptions::permutation ( void   )  const [inline]

Whether to use permutation constraints. Only active if d=4.

Definition at line 98 of file efpa.cpp.

bool EFPAOptions::symmetry ( void   )  const [inline]

Whether to use symmetry breaking.

Reimplemented from Gecode::Options.

Definition at line 100 of file efpa.cpp.


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