Generated on Tue Apr 18 10:23:00 2017 for Gecode by doxygen 1.6.3

KnightsCircuit Class Reference
[Example scripts (models)]

Example: n-Knights tour (model using circuit) More...

List of all members.

Public Member Functions

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

Detailed Description

Example: n-Knights tour (model using circuit)

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).

Definition at line 311 of file knights.cpp.

Constructor & Destructor Documentation

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

Definition at line 313 of file knights.cpp.

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

Constructor for cloning s.

Definition at line 323 of file knights.cpp.

Member Function Documentation

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

Copy during cloning.

Definition at line 326 of file knights.cpp.

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