public abstract class RBF
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected State |
centeredState
The center state of this unit
|
protected DistanceMetric |
metric
The distance metric used to compare input states to this unit's center state.
|
Constructor and Description |
---|
RBF(State centeredState,
DistanceMetric metric)
Initializes with a center state for this unit and a distance metric to compare input states to it.
|
Modifier and Type | Method and Description |
---|---|
abstract double |
responseFor(State input)
Returns a response value to an input state that is a function of the distance between the input and this unit's center state.
|
protected State centeredState
protected DistanceMetric metric
public RBF(State centeredState, DistanceMetric metric)
centeredState
- the center state to use for this unit.metric
- the distance metric to use to compare this unit's center state to input states.public abstract double responseFor(State input)
input
- the input state for which a response value is returned.