Public Types |
| enum | { BRANCH_NONE,
BRANCH_INVERSE,
BRANCH_SIZE
} |
| | Branching to use for model. More...
|
Public Member Functions |
| | Alpha (const Options &opt) |
| | Actual model.
|
| | Alpha (bool share, Alpha &s) |
| | Constructor for cloning s.
|
| virtual Space * | copy (bool share) |
| | Copy during cloning.
|
| virtual void | print (std::ostream &os) const |
| | Print solution.
|
Protected Attributes |
| IntVarArray | le |
| | Array for letters.
|
Static Protected Attributes |
| static const int | n = 26 |
| | Alphabet has 26 letters.
|
Related Functions |
(Note that these are not member functions.)
|
| int | main (int argc, char *argv[]) |
| | Main-function.
|
Example: Alpha puzzle
Well-known cryptoarithmetic puzzle of unknown origin.
Definition at line 53 of file alpha.cpp.