IResponseCurveT Interface |
Namespace: Gamelogic.Extensions.Algorithms
public interface IResponseCurve<T>
The IResponseCurveT type exposes the following members.
| Name | Description | |
|---|---|---|
| Item |
If the input is below the inputMin given in the constructor,
the output is clamped to the first output sample.
If the input is above the inputMax given in the constructor,
the output is clamped to the last output sample.
Otherwise an index is calculated, and the output is interpolated
between outputSample[index] and outputSample[index + 1].
|
| Name | Description | |
|---|---|---|
| SelectTSource, TResult |
Creates a response curve that transforms the output of the given curve
using the given function.
(Defined by ResponseCurve.) |
This class is is the base of the that described in AI Programming Wisdom 1, "The Beauty of Response Curves", by Bob Alexander.
The inputs need not be spread uniformly.