org.vizzini.ai.geneticalgorithm.example
Class CharacterRecognitionTestData

java.lang.Object
  extended by org.vizzini.ai.geneticalgorithm.example.CharacterRecognitionTestData

public class CharacterRecognitionTestData
extends Object

Provides data for seven digitized characters.

Since:
v0.3
Version:
v0.3
Author:
Jeffrey M. Thompson

Field Summary
static IFitnessCase[] FITNESS_CASES
           
static double[] LETTER_A
          The letter A as a 5x7 grid.
static IFitnessCase LETTER_A_FC
           
static double[] LETTER_C
          The letter C as a 5x7 grid.
static IFitnessCase LETTER_C_FC
           
static double[] LETTER_E
          The letter E as a 5x7 grid.
static IFitnessCase LETTER_E_FC
           
static double[] LETTER_Q
          The letter Q as a 5x7 grid.
static IFitnessCase LETTER_Q_FC
           
static double[] LETTER_S
          The letter S as a 5x7 grid.
static IFitnessCase LETTER_S_FC
           
static double[] LETTER_T
          The letter T as a 5x7 grid.
static IFitnessCase LETTER_T_FC
           
static double[] LETTER_V
          The letter V as a 5x7 grid.
static IFitnessCase LETTER_V_FC
           
static double[][] LETTERS
          All the letters in an array.
 
Constructor Summary
CharacterRecognitionTestData()
           
 
Method Summary
protected static IFitnessCase createFitnessCase(double[] letter, int result)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LETTER_A

public static final double[] LETTER_A
The letter A as a 5x7 grid.


LETTER_C

public static final double[] LETTER_C
The letter C as a 5x7 grid.


LETTER_E

public static final double[] LETTER_E
The letter E as a 5x7 grid.


LETTER_Q

public static final double[] LETTER_Q
The letter Q as a 5x7 grid.


LETTER_S

public static final double[] LETTER_S
The letter S as a 5x7 grid.


LETTER_T

public static final double[] LETTER_T
The letter T as a 5x7 grid.


LETTER_V

public static final double[] LETTER_V
The letter V as a 5x7 grid.


LETTERS

public static final double[][] LETTERS
All the letters in an array.


LETTER_A_FC

public static final IFitnessCase LETTER_A_FC

LETTER_C_FC

public static final IFitnessCase LETTER_C_FC

LETTER_E_FC

public static final IFitnessCase LETTER_E_FC

LETTER_Q_FC

public static final IFitnessCase LETTER_Q_FC

LETTER_S_FC

public static final IFitnessCase LETTER_S_FC

LETTER_T_FC

public static final IFitnessCase LETTER_T_FC

LETTER_V_FC

public static final IFitnessCase LETTER_V_FC

FITNESS_CASES

public static final IFitnessCase[] FITNESS_CASES
Constructor Detail

CharacterRecognitionTestData

public CharacterRecognitionTestData()
Method Detail

createFitnessCase

protected static IFitnessCase createFitnessCase(double[] letter,
                                                int result)


Copyright © 2007 Vizzini.org. All Rights Reserved. 2007.12.25.03.00.02