Generated on Wed Nov 1 15:04:51 2006 for Gecode by doxygen 1.4.5

Donald Class Reference
[Example scripts (models)]

Inherits Example.

List of all members.


Detailed Description

Example: DONALD+GERALD=ROBERT puzzle

Well-known cryptoarithmetic puzzle of unknown origin.

Definition at line 33 of file donald.cc.

Public Member Functions

 Donald (const Options &opt)
 Donald (bool share, Donald &s)
virtual Spacecopy (bool share)
 Copying member function.
virtual void print (void)


Constructor & Destructor Documentation

Donald::Donald const Options opt  )  [inline]
 

Definition at line 40 of file donald.cc.

Donald::Donald bool  share,
Donald s
[inline]
 

Definition at line 59 of file donald.cc.


Member Function Documentation

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

Copying member function.

Must create a new object using the constructor for cloning.

Implements Gecode::Space.

Definition at line 64 of file donald.cc.

virtual void Donald::print void   )  [inline, virtual]
 

Reimplemented from Example.

Definition at line 69 of file donald.cc.


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