(C++)
1.0.0
A multi-platform, modular, universal engine for embedding advanced AI in games.
|
The UpperBound class - Can hold arbitrary curve, but upperbounds it to provided value. More...
#include <Curve.hh>
Public Member Functions | |
template<typename... ConstructorArguments> | |
UpperBound (float initUpperBound, ConstructorArguments &&... arguments) | |
virtual float | Sample (float argument) const override |
Sample - User-defined method which processes provided value (currently vector of values - multidemensional curves will soon become deprecated). More... | |
const T & | GetCurve () const |
float | GetUpperBound () const |
CurveTypeId | GetTypeId () const override |
Public Member Functions inherited from grail::curves::Curve | |
Curve (const Curve &other)=default | |
Curve (Curve &&other)=default | |
The UpperBound class - Can hold arbitrary curve, but upperbounds it to provided value.
|
inlineoverridevirtual |
Sample - User-defined method which processes provided value (currently vector of values - multidemensional curves will soon become deprecated).
argument |
Implements grail::curves::Curve.