org.gephi.ranking.api
Interface Interpolator
public interface Interpolator
Interface that defines the single interpolate(float)
method. This interface is implemented by built-in interpolators.
- Author:
- Mathieu Bastian
Method Summary |
float |
interpolate(float x)
This function takes an input value between 0 and 1 and returns another value, also between 0 and 1. |
interpolate
float interpolate(float x)
- This function takes an input value between 0 and 1 and returns another value, also between 0 and 1.
- Parameters:
x
- a value between 0 and 1
- Returns:
- a value between 0 and 1. Values outside of this boundary may be clamped to the interval [0,1] and cause undefined results.