Generated on Fri Oct 19 11:25:41 2018 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 46 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 57 of file hamming.cpp.


Member Function Documentation

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

Return number of bits.

Definition at line 67 of file hamming.cpp.

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

Return minimum distance.

Definition at line 69 of file hamming.cpp.

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

Return number of symbols.

Definition at line 71 of file hamming.cpp.


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