public class SinusoidalThresholdModel extends WeightedThresholdModel implements ThresholdingAlgorithm
k| Constructor and Description |
|---|
SinusoidalThresholdModel(double p_k)
Creates a new sinusoidal function with a given steepness.
|
| Modifier and Type | Method and Description |
|---|---|
double |
differentialValue(Edge[] edges)
Returns the differential of the thresholding function.
|
boolean |
validateInput(double input)
Validates input against the applicable range for this thresholding algorithm.
|
double |
value(Edge[] edges)
Calculates Neuron value from all Edges and their source Neurons.
|
getK, setKpublic SinusoidalThresholdModel(double p_k)
p_k - The steepness valuepublic double value(Edge[] edges)
value in interface ThresholdingAlgorithmedges - All of this neuron's edgespublic boolean validateInput(double input)
validateInput in interface ThresholdingAlgorithminput - The value to checkpublic double differentialValue(Edge[] edges)
differentialValue in interface ThresholdingAlgorithmedges - The edges that comprise the links this neuron has.