hcrypto.analyzer.evolutionary
Class NgramGaPopulation
java.lang.Object
hcrypto.analyzer.evolutionary.GaPopulation
hcrypto.analyzer.evolutionary.NgramGaPopulation
public class NgramGaPopulation
- extends GaPopulation
Implements an instance of a GaPopulation
by providing implementations of the init()
and run() methods for a NgramGaAnalyzer.
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
N_SHUFFLES
public static final int N_SHUFFLES
- See Also:
- Constant Field Values
KUCERA10
public static final int KUCERA10
- See Also:
- Constant Field Values
NgramGaPopulation
public NgramGaPopulation(AnalyzerFrame f,
java.lang.String text,
java.lang.String solution,
GaParameters params)
- NgramGaPopulation() constructor
- Parameters:
text - -- the text to be cryptanalyzedparams - -- a collection of parameters to control the run
init
public void init()
- Inherited abstract method from GaPopulation.
- Specified by:
init in class GaPopulation
run
public void run()
- This method implements the abstract run() method inherited from
GaPopulation.
- Specified by:
run in class GaPopulation
getFittest
public GaIndividual getFittest(int n)
- Overrides:
getFittest in class GaPopulation
displayBest
public void displayBest()
displaySummary
public void displaySummary()