Generated on Mon Aug 25 11:35:48 2008 for Gecode by doxygen 1.5.6

KnightsReified Class Reference
[Scripts for problems]

Inherits Knights.

List of all members.


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 115 of file knights.cc.


Public Member Functions

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

Constructor & Destructor Documentation

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

Definition at line 117 of file knights.cc.

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

Constructor for cloning s.

Definition at line 155 of file knights.cc.


Member Function Documentation

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

Copy during cloning.

Implements Gecode::Space.

Definition at line 158 of file knights.cc.


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