Package pulse.search.statistics
Class CorrelationTest
- java.lang.Object
-
- pulse.util.UpwardsNavigable
-
- pulse.util.Group
-
- pulse.util.Accessible
-
- pulse.util.PropertyHolder
-
- pulse.search.statistics.CorrelationTest
-
- All Implemented Interfaces:
Serializable,Descriptive,Reflexive
- Direct Known Subclasses:
EmptyCorrelationTest,PearsonCorrelation,SpearmansCorrelationTest
public abstract class CorrelationTest extends PropertyHolder implements Reflexive
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CorrelationTest()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description booleancompareToThreshold(double value)abstract doubleevaluate(double[] x, double[] y)static InstanceDescriptor<CorrelationTest>getTestDescriptor()static NumericPropertygetThreshold()static CorrelationTestinit()voidset(NumericPropertyKeyword type, NumericProperty property)An abstract method, which must be overriden to gain access over setting the values of all relevant (selected by the programmer)NumericProperties in subclasses ofAccessible.static voidsetThreshold(NumericProperty p)-
Methods inherited from class pulse.util.PropertyHolder
addListener, areDetailsHidden, data, describe, firePropertyChanged, getDescriptor, getListeners, getPrefix, ignoreSiblings, initListeners, isListedNumericType, isListedParameter, listedKeywords, listedTypes, numericData, parameterListChanged, removeListeners, setPrefix, updateProperties, updateProperty
-
Methods inherited from class pulse.util.Accessible
accessibleChildren, genericProperties, genericProperty, numericProperties, numericProperty, property, update, update
-
Methods inherited from class pulse.util.UpwardsNavigable
addHierarchyListener, getHierarchyListeners, getParent, identify, removeHierarchyListener, removeHierarchyListeners, setParent, specificAncestor, tellParent
-
-
-
-
Method Detail
-
init
public static CorrelationTest init()
-
getTestDescriptor
public static final InstanceDescriptor<CorrelationTest> getTestDescriptor()
-
evaluate
public abstract double evaluate(double[] x, double[] y)
-
compareToThreshold
public boolean compareToThreshold(double value)
-
getThreshold
public static NumericProperty getThreshold()
-
setThreshold
public static void setThreshold(NumericProperty p)
-
set
public void set(NumericPropertyKeyword type, NumericProperty property)
Description copied from class:AccessibleAn abstract method, which must be overriden to gain access over setting the values of all relevant (selected by the programmer)
NumericProperties in subclasses ofAccessible. Typically this involves aswitchstatement that goes through the different options for thetypeand invokes differentset(...)methods to update the matchingNumericPropertywithproperty.- Specified by:
setin classAccessible- Parameters:
type- the type, which must be equal by definition toproperty.getType().property- the property, which contains new information.
-
-