(C++)  1.0.0
A multi-platform, modular, universal engine for embedding advanced AI in games.
grail::curves::SigmoidFunction Class Referencefinal
Inheritance diagram for grail::curves::SigmoidFunction:
Collaboration diagram for grail::curves::SigmoidFunction:

Public Member Functions

 SigmoidFunction (float initRange, float initSlope, float initThreshold, float initDisplacement)
 
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...
 
float GetRange () const
 
float GetSlope () const
 
float GetThreshold () const
 
float GetDisplacement () const
 
CurveTypeId GetTypeId () const override
 
- Public Member Functions inherited from grail::curves::Curve
 Curve (const Curve &other)=default
 
 Curve (Curve &&other)=default
 

Member Function Documentation

◆ Sample()

float grail::curves::SigmoidFunction::Sample ( float  argument) const
overridevirtual

Sample - User-defined method which processes provided value (currently vector of values - multidemensional curves will soon become deprecated).

Parameters
argument
Returns
another value

Implements grail::curves::Curve.


The documentation for this class was generated from the following files: