ADORe
ADORe is a modular open source software library and toolkit for decision making, planning, control and simulation of automated vehicles
adore::mad::interval< T > Struct Template Reference

#include <intervalarithmetic.h>

Collaboration diagram for adore::mad::interval< T >:
Collaboration graph

Public Member Functions

 interval (T x0, T x1)
 
 interval (T x)
 
 interval ()
 
void set (T lb, T ub)
 
void setMinMax (T x0, T x1)
 
interval< T > & operator+= (const interval< T > &rhs)
 
interval< T > & operator-= (const interval< T > &rhs)
 
interval< T > & operator*= (const interval< T > &rhs)
 
interval< T > operator- ()
 

Public Attributes

lb
 
ub
 

Friends

interval< T > operator+ (interval< T > lhs, const interval< T > &rhs)
 
interval< T > operator- (interval< T > lhs, const interval< T > &rhs)
 
interval< T > operator* (interval< T > lhs, const interval< T > &rhs)
 

Detailed Description

template<typename T>
struct adore::mad::interval< T >

interval definition. Correct: Use type adoreMatrix<interval<T>,n,m> to represent interval matrices. Wrong: The type interval<adoreMatrix<T,n,m>> might compile, but multiplication is not handled correctly

Constructor & Destructor Documentation

◆ interval() [1/3]

template<typename T >
adore::mad::interval< T >::interval ( x0,
x1 
)
inline

◆ interval() [2/3]

template<typename T >
adore::mad::interval< T >::interval ( x)
inline

◆ interval() [3/3]

template<typename T >
adore::mad::interval< T >::interval ( )
inline

Member Function Documentation

◆ operator*=()

template<typename T >
interval<T>& adore::mad::interval< T >::operator*= ( const interval< T > &  rhs)
inline
Here is the call graph for this function:

◆ operator+=()

template<typename T >
interval<T>& adore::mad::interval< T >::operator+= ( const interval< T > &  rhs)
inline

◆ operator-()

template<typename T >
interval<T> adore::mad::interval< T >::operator- ( )
inline

◆ operator-=()

template<typename T >
interval<T>& adore::mad::interval< T >::operator-= ( const interval< T > &  rhs)
inline

◆ set()

template<typename T >
void adore::mad::interval< T >::set ( lb,
ub 
)
inline

◆ setMinMax()

template<typename T >
void adore::mad::interval< T >::setMinMax ( x0,
x1 
)
inline
Here is the call graph for this function:

Friends And Related Function Documentation

◆ operator*

template<typename T >
interval<T> operator* ( interval< T >  lhs,
const interval< T > &  rhs 
)
friend

◆ operator+

template<typename T >
interval<T> operator+ ( interval< T >  lhs,
const interval< T > &  rhs 
)
friend

◆ operator-

template<typename T >
interval<T> operator- ( interval< T >  lhs,
const interval< T > &  rhs 
)
friend

Member Data Documentation

◆ lb

template<typename T >
T adore::mad::interval< T >::lb

◆ ub

template<typename T >
T adore::mad::interval< T >::ub

The documentation for this struct was generated from the following file: