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

Donald Class Reference
[Scripts for problems]

Inherits Example.

List of all members.


Detailed Description

Example: DONALD+GERALD=ROBERT puzzle

Well-known cryptoarithmetic puzzle of unknown origin.

Definition at line 49 of file donald.cc.


Public Member Functions

 Donald (const Options &opt)
 Actual model.
 Donald (bool share, Donald &s)
 Constructor for cloning s.
virtual Spacecopy (bool share)
 Copy during cloning.
virtual void print (std::ostream &os)
 Print solution.

Constructor & Destructor Documentation

Donald::Donald ( const Options opt  )  [inline]

Actual model.

Definition at line 57 of file donald.cc.

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

Constructor for cloning s.

Definition at line 76 of file donald.cc.


Member Function Documentation

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

Copy during cloning.

Implements Gecode::Space.

Definition at line 81 of file donald.cc.

virtual void Donald::print ( std::ostream &  os  )  [inline, virtual]

Print solution.

Reimplemented from Example.

Definition at line 86 of file donald.cc.


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