(C++)  1.0.0
A multi-platform, modular, universal engine for embedding advanced AI in games.
grail::curves::LowerBound< T > Class Template Referencefinal

The LowerBound class - Can hold arbitrary curve, but lowerbounds it to provided value. More...

#include <Curve.hh>

Inheritance diagram for grail::curves::LowerBound< T >:
Collaboration diagram for grail::curves::LowerBound< T >:

Public Member Functions

template<typename... ConstructorArguments>
 LowerBound (float initLowerBound, 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 GetLowerBound () const
 
CurveTypeId GetTypeId () const override
 
- Public Member Functions inherited from grail::curves::Curve
 Curve (const Curve &other)=default
 
 Curve (Curve &&other)=default
 

Detailed Description

template<typename T>
class grail::curves::LowerBound< T >

The LowerBound class - Can hold arbitrary curve, but lowerbounds it to provided value.

Member Function Documentation

◆ Sample()

template<typename T >
virtual float grail::curves::LowerBound< T >::Sample ( float  argument) const
inlineoverridevirtual

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 file: