Generated on Mon Nov 30 23:53:44 2009 for Gecode by doxygen 1.6.1

KnightsReified Class Reference
[Scripts for problems]

Example: n-Knights tour (simple model) More...

List of all members.

Public Member Functions

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

Detailed Description

Example: n-Knights tour (simple model)

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

Definition at line 229 of file knights.cpp.


Constructor & Destructor Documentation

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

Definition at line 231 of file knights.cpp.

KnightsReified::KnightsReified ( bool  share,
KnightsReified s 
) [inline]

Constructor for cloning s.

Definition at line 268 of file knights.cpp.


Member Function Documentation

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

Copy during cloning.

Implements Gecode::Space.

Definition at line 271 of file knights.cpp.


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