|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectExamplesJaCoP.Example
ExamplesJaCoP.Cryptogram
public class Cryptogram
Cryptogram. It solves any cryptogram puzzle of the form like SEND+MORE=MONEY.
| Field Summary | |
|---|---|
int |
base
It specifies the base of the numerical system to be used in the calculations. |
java.lang.String |
filename
It specifies the file which contains the puzzle to be solved. |
int |
maxInputLines
It specifies how many lines of expressions can be inputed in one execution. |
| Fields inherited from class ExamplesJaCoP.Example |
|---|
cost, search, store, vars |
| Constructor Summary | |
|---|---|
Cryptogram()
|
|
| Method Summary | |
|---|---|
static void |
main(java.lang.String[] args)
It executes the program to solve any cryptographic puzzle. |
void |
model()
It specifies a standard way of modeling the problem. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public int maxInputLines
public int base
public java.lang.String filename
| Constructor Detail |
|---|
public Cryptogram()
| Method Detail |
|---|
public void model()
Example
model in class Examplepublic static void main(java.lang.String[] args)
args - no arguments read.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||