public abstract class ThreePointRuleDifferentiation extends java.lang.Object implements ThresholdingAlgorithm
| Constructor and Description |
|---|
ThreePointRuleDifferentiation(double p_h)
Creates a new differentiation constant necessary to approximate differential.
|
| Modifier and Type | Method and Description |
|---|---|
double |
differentialValue(Edge[] edges)
Attempts to find the differential of any function by way of numerical methods.
|
abstract boolean |
validateInput(double value)
Validates input against the applicable range for this thresholding algorithm.
|
abstract double |
value(Edge[] edges)
Calculates Neuron value from all Edges and their source Neurons.
|
public ThreePointRuleDifferentiation(double p_h)
p_h - The difference between samples.public abstract double value(Edge[] edges)
value in interface ThresholdingAlgorithmedges - This neuron's edgespublic abstract boolean validateInput(double value)
validateInput in interface ThresholdingAlgorithmvalue - The value to checkpublic double differentialValue(Edge[] edges)
differentialValue in interface ThresholdingAlgorithmedges - All edges leading to this neurons