Example Class Reference
#include <support.hh>
Inherits Gecode::Space.
Inherited by AllInterval, AllInterval, Alpha, Baseline, BIBD, Cars, Crew, CrowdedChess, Donald, Eq20, Golf, Golomb, GraphColor, Grocery, Hamming, IndSet, Knights, LangfordNum, MagicSequence, MagicSequence, MagicSquare, Money, OrthoLatinSquare, Packing, Partition, Photo, PicturePuzzle, Queens, SportsLeague, Steiner, StressDomain, StressFailure, StressSearch, Sudoku, SudokuMixed, SudokuSet, and Warehouses.
Detailed Description
Base-class for Gecode examples.All examples must inherit from this class
- adds printing to examples
- run allows to execute examples
Definition at line 81 of file support.hh.
Public Member Functions | |
Example (void) | |
Example (bool share, Example &e) | |
virtual void | print (void) |
Static Public Member Functions | |
template<class Script, template< class > class Engine> | |
static void | run (const Options &) |
Constructor & Destructor Documentation
Example::Example | ( | void | ) | [inline] |
Definition at line 83 of file support.hh.
Example::Example | ( | bool | share, | |
Example & | e | |||
) | [inline] |
Definition at line 84 of file support.hh.
Member Function Documentation
virtual void Example::print | ( | void | ) | [inline, virtual] |
Reimplemented in AllInterval, AllInterval, Alpha, Baseline, BIBD, Cars, Crew, CrowdedChess, Donald, Eq20, Golf, Golomb, GraphColor, Grocery, Hamming, IndSet, Knights, LangfordNum, MagicSequence, MagicSequence, MagicSquare, Money, OrthoLatinSquare, Packing, Partition, Photo, PicturePuzzle, Queens, SportsLeague, Steiner, StressDomain, StressFailure, StressSearch, SudokuMixed, SudokuSet, Sudoku, and Warehouses.
Definition at line 85 of file support.hh.
void Example::run | ( | const Options & | ) | [static] |
Definition at line 39 of file support.icc.
The documentation for this class was generated from the following files:
- examples/support.hh (Revision: 3294)
- examples/support.icc (Revision: 3294)