RVLAlg::MaxTerminator< Scalar > Class Template Reference

Terminator which takes a scalar and a maximum value. More...

#include <scalarterm.hh>

Inheritance diagram for RVLAlg::MaxTerminator< Scalar >:

RVLAlg::Terminator List of all members.

Public Member Functions

 MaxTerminator (const Scalar &tx, Scalar maxval)
virtual bool query ()

Protected Attributes

const Scalar & x
Scalar mv

Detailed Description

template<class Scalar>
class RVLAlg::MaxTerminator< Scalar >

Terminator which takes a scalar and a maximum value.

STOP: $x > maxval$

Definition at line 109 of file scalarterm.hh.


Constructor & Destructor Documentation

template<class Scalar>
RVLAlg::MaxTerminator< Scalar >::MaxTerminator ( const Scalar &  tx,
Scalar  maxval 
)

Definition at line 111 of file scalarterm.hh.


Member Function Documentation

template<class Scalar>
virtual bool RVLAlg::MaxTerminator< Scalar >::query (  )  [virtual]

Implements RVLAlg::Terminator.

Definition at line 113 of file scalarterm.hh.

References RVLAlg::MaxTerminator< Scalar >::mv, and RVLAlg::MaxTerminator< Scalar >::x.


Member Data Documentation

template<class Scalar>
const Scalar& RVLAlg::MaxTerminator< Scalar >::x [protected]

Definition at line 118 of file scalarterm.hh.

Referenced by RVLAlg::MaxTerminator< Scalar >::query().

template<class Scalar>
Scalar RVLAlg::MaxTerminator< Scalar >::mv [protected]

Definition at line 119 of file scalarterm.hh.

Referenced by RVLAlg::MaxTerminator< Scalar >::query().


The documentation for this class was generated from the following file:
Generated on 5 Jan 2017 for RvlAlg by  doxygen 1.4.7