|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--hcrypto.analyzer.GaPopulation | +--hcrypto.analyzer.WordBasedGaPopulation
Fields inherited from class hcrypto.analyzer.GaPopulation |
ciphertext, cleantext, cross_rate, CROSS_RATE, individual, IS_VERBOSE, MAX_GENERATIONS, maxtrials, mutate_rate, MUTATE_RATE, params, POPULATION_SIZE, size, TWEAK_ON, tweakingOn, verbose |
Constructor Summary | |
WordBasedGaPopulation(java.lang.String text,
GaParameters params)
WordBasedGaPopulation() constructor |
Method Summary | |
void |
displayBest()
|
void |
displaySummary()
|
GaIndividual |
getFittest(int n)
|
void |
init()
This method initializes the analyzer. |
void |
run()
This method implements the abstract run() method inherited from GaPopulation. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public WordBasedGaPopulation(java.lang.String text, GaParameters params)
text
- -- the text to be cryptanalyzedparams
- -- a collection of parameters to control the runMethod Detail |
public void init()
init
in class GaPopulation
public void run()
run
in class GaPopulation
public GaIndividual getFittest(int n)
getFittest
in class GaPopulation
public void displayBest()
public void displaySummary()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |