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

HammingOptions Class Reference

Options for Hamming problems More...

List of all members.

Public Member Functions

 HammingOptions (const char *s, unsigned int bits0, unsigned int distance0, unsigned int size0)
 Initialize options for example with name s.
unsigned int bits (void) const
 Return number of bits.
unsigned int distance (void) const
 Return minimum distance.
unsigned int size (void) const
 Return number of symbols.

Detailed Description

Options for Hamming problems

Definition at line 50 of file hamming.cpp.


Constructor & Destructor Documentation

HammingOptions::HammingOptions ( const char *  s,
unsigned int  bits0,
unsigned int  distance0,
unsigned int  size0 
) [inline]

Initialize options for example with name s.

Definition at line 61 of file hamming.cpp.


Member Function Documentation

unsigned int HammingOptions::bits ( void   )  const [inline]

Return number of bits.

Definition at line 71 of file hamming.cpp.

unsigned int HammingOptions::distance ( void   )  const [inline]

Return minimum distance.

Definition at line 73 of file hamming.cpp.

unsigned int HammingOptions::size ( void   )  const [inline]

Return number of symbols.

Definition at line 75 of file hamming.cpp.


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