|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectExamplesJaCoP.Example
ExamplesJaCoP.SendMoreMoney
public class SendMoreMoney
It is a simple arithmetic logic puzzle, where SEND+MORE=MONEY. Find for the equation on the left what digits are represented by the letters different letters represent different digits SEND 9567 +MORE =======> +1085 MONEY 10652
| Field Summary |
|---|
| Fields inherited from class ExamplesJaCoP.Example |
|---|
cost, search, store, vars |
| Constructor Summary | |
|---|---|
SendMoreMoney()
|
|
| Method Summary | |
|---|---|
static void |
main(java.lang.String[] args)
It executes the program to solve this simple logic puzzle. |
void |
model()
1. |
void |
modelBasic()
1. |
boolean |
search()
This creates a standard search, which looks for a single solution. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SendMoreMoney()
| Method Detail |
|---|
public void modelBasic()
public boolean search()
search in class Examplepublic static void main(java.lang.String[] args)
args - no arguments used.public void model()
model in class Example
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||