RVLAlg::BinaryThresholdTerminator< Scalar > Class Template Reference

Terminator which takes a binary function object, two vectors, and a tolerance. More...

#include <vectorterm.hh>

Inheritance diagram for RVLAlg::BinaryThresholdTerminator< Scalar >:

RVLAlg::Terminator List of all members.

Public Member Functions

 BinaryThresholdTerminator (FunctionObjectScalarRedn< Scalar > &tf, Vector< Scalar > &tx, Vector< Scalar > &ty, Scalar ttol)
virtual bool query ()

Protected Attributes

FunctionObjectScalarRedn<
Scalar > & 
f
Vector< Scalar > & x
Vector< Scalar > & y
Scalar tol

Detailed Description

template<class Scalar>
class RVLAlg::BinaryThresholdTerminator< Scalar >

Terminator which takes a binary function object, two vectors, and a tolerance.

STOP: $f(x,y) < tol$

Definition at line 84 of file vectorterm.hh.


Constructor & Destructor Documentation

template<class Scalar>
RVLAlg::BinaryThresholdTerminator< Scalar >::BinaryThresholdTerminator ( FunctionObjectScalarRedn< Scalar > &  tf,
Vector< Scalar > &  tx,
Vector< Scalar > &  ty,
Scalar  ttol 
)

Definition at line 87 of file vectorterm.hh.


Member Function Documentation

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

Implements RVLAlg::Terminator.

Definition at line 93 of file vectorterm.hh.

References RVLAlg::BinaryThresholdTerminator< Scalar >::f, RVL::ScalarRedn< Scalar >::getValue(), RVLAlg::BinaryThresholdTerminator< Scalar >::tol, RVLAlg::BinaryThresholdTerminator< Scalar >::x, and RVLAlg::BinaryThresholdTerminator< Scalar >::y.


Member Data Documentation

template<class Scalar>
FunctionObjectScalarRedn<Scalar>& RVLAlg::BinaryThresholdTerminator< Scalar >::f [protected]

Definition at line 101 of file vectorterm.hh.

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

template<class Scalar>
Vector<Scalar>& RVLAlg::BinaryThresholdTerminator< Scalar >::x [protected]

Definition at line 102 of file vectorterm.hh.

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

template<class Scalar>
Vector<Scalar>& RVLAlg::BinaryThresholdTerminator< Scalar >::y [protected]

Definition at line 103 of file vectorterm.hh.

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

template<class Scalar>
Scalar RVLAlg::BinaryThresholdTerminator< Scalar >::tol [protected]

Definition at line 104 of file vectorterm.hh.

Referenced by RVLAlg::BinaryThresholdTerminator< 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