hcrypto.analyzer.evolutionary
Class GaParameters

java.lang.Object
  extended by hcrypto.analyzer.evolutionary.GaParameters

public class GaParameters
extends java.lang.Object


Field Summary
 Alphabet alphabet
          These are for NgramGaAnalyzers
 java.lang.String book
           
 int cipherType
           
 double cross_rate
           
static double CROSS_RATE
           
static int DETERMINISTIC_SEEDING
           
 java.lang.String dict_name
           
static int ELITIST_MUTATION
           
static int ELITIST_SELECTION
           
 double eval_A
           
 double eval_B
           
 double eval_C
           
 int eval_dict
           
 java.lang.String filename
           
 int generations
           
static boolean IS_VERBOSE
           
static int MAX_GENERATIONS
           
 int mutate_policy
          These are for GAs
 double mutate_rate
           
static double MUTATE_RATE
           
 int nkeys
          These are for all algorithms.
 int nloops
           
 int NN
           
static int NO_SEEDING
           
 java.lang.String param_string
           
static int POPULATION_SIZE
           
static int PROPORTIONAL_SELECTION
           
static int RANDOM_MUTATION
           
static int RANDOM_SEEDING
           
 int randSize
           
 int seed_dict
           
 int seeding
           
 int selection_policy
           
 int size
           
 double temperature
          These are for AnnealerAnalyzer
 int text_limit
           
 double tFactor
           
 int tweak_at
           
static int TWEAK_AT
           
static boolean TWEAK_ON
           
 boolean tweaking
           
 boolean verbose
           
 
Constructor Summary
GaParameters()
           
GaParameters(java.lang.String paramstr)
           
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

POPULATION_SIZE

public static final int POPULATION_SIZE
See Also:
Constant Field Values

MAX_GENERATIONS

public static final int MAX_GENERATIONS
See Also:
Constant Field Values

TWEAK_AT

public static final int TWEAK_AT
See Also:
Constant Field Values

MUTATE_RATE

public static final double MUTATE_RATE
See Also:
Constant Field Values

CROSS_RATE

public static final double CROSS_RATE
See Also:
Constant Field Values

TWEAK_ON

public static final boolean TWEAK_ON
See Also:
Constant Field Values

IS_VERBOSE

public static final boolean IS_VERBOSE
See Also:
Constant Field Values

NO_SEEDING

public static final int NO_SEEDING
See Also:
Constant Field Values

RANDOM_SEEDING

public static final int RANDOM_SEEDING
See Also:
Constant Field Values

DETERMINISTIC_SEEDING

public static final int DETERMINISTIC_SEEDING
See Also:
Constant Field Values

ELITIST_SELECTION

public static final int ELITIST_SELECTION
See Also:
Constant Field Values

PROPORTIONAL_SELECTION

public static final int PROPORTIONAL_SELECTION
See Also:
Constant Field Values

ELITIST_MUTATION

public static final int ELITIST_MUTATION
See Also:
Constant Field Values

RANDOM_MUTATION

public static final int RANDOM_MUTATION
See Also:
Constant Field Values

param_string

public java.lang.String param_string

filename

public java.lang.String filename

cross_rate

public double cross_rate

mutate_rate

public double mutate_rate

generations

public int generations

verbose

public boolean verbose

text_limit

public int text_limit

tweaking

public boolean tweaking

tweak_at

public int tweak_at

size

public int size

seeding

public int seeding

eval_dict

public int eval_dict

seed_dict

public int seed_dict

dict_name

public java.lang.String dict_name

eval_A

public double eval_A

eval_B

public double eval_B

eval_C

public double eval_C

mutate_policy

public int mutate_policy
These are for GAs


selection_policy

public int selection_policy

alphabet

public Alphabet alphabet
These are for NgramGaAnalyzers


book

public java.lang.String book

NN

public int NN

cipherType

public int cipherType

randSize

public int randSize

nloops

public int nloops

temperature

public double temperature
These are for AnnealerAnalyzer


tFactor

public double tFactor

nkeys

public int nkeys
These are for all algorithms.

Constructor Detail

GaParameters

public GaParameters()

GaParameters

public GaParameters(java.lang.String paramstr)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object