HOPS
HOPS class reference
Public Member Functions | Protected Member Functions | List of all members
hops::MHO_ExtremaSearch< XArgType > Class Template Reference

Class MHO_ExtremaSearch. More...

#include <MHO_ExtremaSearch.hh>

Inheritance diagram for hops::MHO_ExtremaSearch< XArgType >:
[legend]

Public Member Functions

 MHO_ExtremaSearch ()
 
virtual ~MHO_ExtremaSearch ()
 
double GetMax ()
 Getter for maximum value across the array. More...
 
std::size_t GetMaxLocation ()
 Getter for max location (offset into the array) More...
 
double GetMin ()
 Getter for minimum value across the. More...
 
std::size_t GetMinLocation ()
 Getter for min location (offset into the array) More...
 
- Public Member Functions inherited from hops::MHO_InspectingOperator< XArgType >
 MHO_InspectingOperator ()
 
virtual ~MHO_InspectingOperator ()
 
virtual bool Execute () override
 Executes the inspection on the input array. More...
 
virtual bool Initialize () override
 initializes inspection for a single const array of type XArgType. More...
 
virtual void SetArgs (const XArgType *in)
 Setter for args. More...
 
- Public Member Functions inherited from hops::MHO_Operator
 MHO_Operator ()
 
virtual ~MHO_Operator ()
 
std::string GetName () const
 Getter for operator name. More...
 
virtual double Priority () const
 Get the the priority field value. More...
 
void SetName (std::string name)
 Setter for operator name. More...
 
virtual void SetPriority (const double &priority)
 Setter for operator priority (determines order of execution within a operator category) More...
 

Protected Member Functions

virtual bool ExecuteImpl (const XArgType *in) override
 Executes search operation using input argument and returns true. More...
 
virtual bool InitializeImpl (const XArgType *) override
 Initializes the operator. More...
 

Additional Inherited Members

- Protected Attributes inherited from hops::MHO_InspectingOperator< XArgType >
const XArgType * fArg
 

Detailed Description

template<class XArgType>
class hops::MHO_ExtremaSearch< XArgType >

Class MHO_ExtremaSearch.

Author
J. Barrett - barre.nosp@m.ttj@.nosp@m.mit.e.nosp@m.du
Date
Thu Jan 5 09:13:09 2023 -0500

Constructor & Destructor Documentation

◆ MHO_ExtremaSearch()

template<class XArgType >
hops::MHO_ExtremaSearch< XArgType >::MHO_ExtremaSearch ( )
inline

◆ ~MHO_ExtremaSearch()

template<class XArgType >
virtual hops::MHO_ExtremaSearch< XArgType >::~MHO_ExtremaSearch ( )
inlinevirtual

Member Function Documentation

◆ ExecuteImpl()

template<class XArgType >
virtual bool hops::MHO_ExtremaSearch< XArgType >::ExecuteImpl ( const XArgType *  in)
inlineoverrideprotectedvirtual

Executes search operation using input argument and returns true.

Parameters
inInput argument of type const XArgType* for search operation.
Returns
Boolean value indicating successful execution.
Note
This is a virtual function.

Implements hops::MHO_InspectingOperator< XArgType >.

◆ GetMax()

template<class XArgType >
double hops::MHO_ExtremaSearch< XArgType >::GetMax ( )
inline

Getter for maximum value across the array.

Returns
The current maximum value as a double.

◆ GetMaxLocation()

template<class XArgType >
std::size_t hops::MHO_ExtremaSearch< XArgType >::GetMaxLocation ( )
inline

Getter for max location (offset into the array)

Returns
std::size_t - Maximum location value

◆ GetMin()

template<class XArgType >
double hops::MHO_ExtremaSearch< XArgType >::GetMin ( )
inline

Getter for minimum value across the.

Returns
The minimum value as a double.

◆ GetMinLocation()

template<class XArgType >
std::size_t hops::MHO_ExtremaSearch< XArgType >::GetMinLocation ( )
inline

Getter for min location (offset into the array)

Returns
std::size_t representing the minimum location.

◆ InitializeImpl()

template<class XArgType >
virtual bool hops::MHO_ExtremaSearch< XArgType >::InitializeImpl ( const XArgType *  )
inlineoverrideprotectedvirtual

Initializes the operator.

Parameters
!inPointer to constant XArgType
Returns
True if initialization is successful, false otherwise.
Note
This is a virtual function.

Implements hops::MHO_InspectingOperator< XArgType >.


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