Class sdm::TemporalFunction

template <typename TFunction typename TFunction>

Class List > sdm > TemporalFunction

  • #include <temporal_function.hpp>

Inherits the following classes: sdm::Function

Public Types inherited from sdm::Function

See sdm::Function

Type Name
typedef TInput input_type
typedef TOutput output_type

Public Functions

Type Name
TemporalFunction (const number horizon=0)
TFunction && getFunction (const number & t) const
virtual const TFunction & operator() (const number & t)
void setFunction (const TFunction & function, number t) const

Public Functions inherited from sdm::Function

See sdm::Function

Type Name
virtual output_type operator() (const input_type &) = 0
virtual ~Function ()

Protected Attributes

Type Name
number horizon_
std::vector< TFunction > temporal_function_

Protected Functions

Type Name
number getIndex (number t) const

Public Functions Documentation

function TemporalFunction

sdm::TemporalFunction::TemporalFunction (
    const number horizon=0
) 

function getFunction

TFunction && sdm::TemporalFunction::getFunction (
    const number & t
) const

function operator()

virtual const TFunction & sdm::TemporalFunction::operator() (
    const number & t
) 

Implements sdm::Function::operator()

function setFunction

void sdm::TemporalFunction::setFunction (
    const TFunction & function,
    number t
) const

Protected Attributes Documentation

variable horizon_

number sdm::TemporalFunction< TFunction >::horizon_;

variable temporal_function_

std::vector<TFunction> sdm::TemporalFunction< TFunction >::temporal_function_;

Protected Functions Documentation

function getIndex

number sdm::TemporalFunction::getIndex (
    number t
) const

The documentation for this class was generated from the following file src/sdm/core/temporal_function.hpp