Money Class Reference
[Example scripts (models)]
Inherits Example.
Detailed Description
Example: SEND+MORE=MONEY puzzleWell-known cryptoarithmetic puzzle. Henry Dudeney, Strand Magazine, July 1924.
Definition at line 34 of file money.cc.
Public Member Functions | |
Money (const Options &opt) | |
Actual model. | |
virtual void | print (void) |
Print solution. | |
Money (bool share, Money &s) | |
Constructor for cloning s. | |
virtual Space * | copy (bool share) |
Copy during cloning. | |
Protected Attributes | |
IntVarArray | le |
Array of letters. | |
Static Protected Attributes | |
static const int | nl = 8 |
Number of letters. |
Constructor & Destructor Documentation
|
Actual model.
|
|
Constructor for cloning s.
|
Member Function Documentation
|
Print solution.
Reimplemented from Example. |
|
Copy during cloning.
Implements Gecode::Space. |
Member Data Documentation
|
Number of letters.
|
|
Array of letters.
|
The documentation for this class was generated from the following file:
- examples/money.cc (Revision: 3517)