corina.cross
Class NeuralD

java.lang.Object
  |
  +--corina.cross.Cross
        |
        +--corina.cross.NeuralD
All Implemented Interfaces:
Runnable

public class NeuralD
extends Cross


Fields inherited from class corina.cross.Cross
data, fixed, highScores, moving, msg
 
Constructor Summary
NeuralD()
           
 
Method Summary
 double compute(int offset_fixed, int offset_moving)
          Compute an individual score, starting at the given offsets into the fixed and moving samples.
 String getFormat()
          Return a format string for this cross to be used with DecimalFormat.
 double getMinimumSignificant()
           
 String getName()
          Return a human-readable name for the crossdate.
 boolean isSignificant(double score, int overlap)
           
static void main(String[] args)
           
 
Methods inherited from class corina.cross.Cross
getFixed, getMinimumOverlap, getMoving, isFinished, preamble, run, single, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NeuralD

public NeuralD()
Method Detail

getMinimumSignificant

public double getMinimumSignificant()
Overrides:
getMinimumSignificant in class Cross

isSignificant

public boolean isSignificant(double score,
                             int overlap)
Overrides:
isSignificant in class Cross

getName

public String getName()
Description copied from class: Cross
Return a human-readable name for the crossdate.
Overrides:
getName in class Cross
Following copied from class: corina.cross.Cross
Returns:
a user-readable name for this type of cross

getFormat

public String getFormat()
Description copied from class: Cross
Return a format string for this cross to be used with DecimalFormat.
Overrides:
getFormat in class Cross
Following copied from class: corina.cross.Cross
Returns:
a format string for this cross

compute

public double compute(int offset_fixed,
                      int offset_moving)
Description copied from class: Cross
Compute an individual score, starting at the given offsets into the fixed and moving samples. (One of the offsets will always be zero, so you never need to look backwards in the data.)
Overrides:
compute in class Cross
Following copied from class: corina.cross.Cross
Parameters:
offset_fixed - index of the fixed data to start at
offset_moving - index of the moving data to start at
Returns:
score at this position

main

public static void main(String[] args)