MUQ  0.4.3
muq::Utilities::AndLimiter Class Reference

Combines two limiters through an AND operation. More...

#include <MultiIndexLimiter.h>

Inheritance diagram for muq::Utilities::AndLimiter:

Detailed Description

Combines two limiters through an AND operation.

This class will return true if both limiters given to the constructor return true.

Definition at line 166 of file MultiIndexLimiter.h.

Public Member Functions

 AndLimiter (std::shared_ptr< MultiIndexLimiter > limitA, std::shared_ptr< MultiIndexLimiter > limitB)
 
virtual ~AndLimiter ()=default
 
virtual bool IsFeasible (std::shared_ptr< MultiIndex > multi) const override
 
- Public Member Functions inherited from muq::Utilities::MultiIndexLimiter
virtual ~MultiIndexLimiter ()=default
 

Constructor & Destructor Documentation

◆ AndLimiter() [1/2]

muq::Utilities::AndLimiter::AndLimiter ( std::shared_ptr< MultiIndexLimiter limitA,
std::shared_ptr< MultiIndexLimiter limitB 
)
inline

Definition at line 169 of file MultiIndexLimiter.h.

◆ ~AndLimiter()

virtual muq::Utilities::AndLimiter::~AndLimiter ( )
virtualdefault

◆ AndLimiter() [2/2]

muq::Utilities::AndLimiter::AndLimiter ( )
inlineprivate

Definition at line 174 of file MultiIndexLimiter.h.

Member Function Documentation

◆ IsFeasible()

virtual bool muq::Utilities::AndLimiter::IsFeasible ( std::shared_ptr< MultiIndex >  multi) const
inlineoverridevirtual

This function is overloaded by children to define what terms are included.

Implements muq::Utilities::MultiIndexLimiter.

Definition at line 171 of file MultiIndexLimiter.h.

References a, and b.

Member Data Documentation

◆ a

std::shared_ptr<MultiIndexLimiter> muq::Utilities::AndLimiter::a
private

Definition at line 175 of file MultiIndexLimiter.h.

Referenced by IsFeasible().

◆ b

std::shared_ptr<MultiIndexLimiter> muq::Utilities::AndLimiter::b
private

Definition at line 175 of file MultiIndexLimiter.h.

Referenced by IsFeasible().


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