Generated on Tue May 22 09:40:48 2018 for Gecode by doxygen 1.6.3

KnightsReified Class Reference
[Example scripts (models)]

Example: n-Knight's tour (simple model) More...

List of all members.

Public Member Functions

 KnightsReified (const SizeOptions &opt)
 KnightsReified (KnightsReified &s)
 Constructor for cloning s.
virtual Spacecopy (void)
 Copy during cloning.

Detailed Description

Example: n-Knight's tour (simple model)

Fill an n times n chess board with knight's moves such that the knight does a full tour (last move reaches first move again). The formulation is due to Gert Smolka.

Definition at line 250 of file knights.cpp.

Constructor & Destructor Documentation

KnightsReified::KnightsReified ( const SizeOptions opt  )  [inline]

Definition at line 252 of file knights.cpp.

KnightsReified::KnightsReified ( KnightsReified s  )  [inline]

Constructor for cloning s.

Definition at line 285 of file knights.cpp.

Member Function Documentation

virtual Space* KnightsReified::copy ( void   )  [inline, virtual]

Copy during cloning.

Definition at line 288 of file knights.cpp.

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