FLOPC++
Private Member Functions | Friends | List of all members
flopc::Boolean_greater Class Reference
Inheritance diagram for flopc::Boolean_greater:
flopc::Comparison flopc::Boolean_base

Private Member Functions

 Boolean_greater (const Constant &e1, const Constant &e2)
 
bool evaluate () const
 

Friends

MP_boolean operator> (const MP_index_exp &e1, const MP_index_exp &e2)
 constructs a boolean evaluator using operator overloadingThis is used in the normal formation of an expression. This is useful when combining index expressions. More...
 
MP_boolean operator> (const Constant &e1, const Constant &e2)
 constructs a boolean evaluator by comparing two constants.This is used in the normal formation of an expression. This utility of this is when comparing constants More...
 

Additional Inherited Members

- Protected Member Functions inherited from flopc::Comparison
 Comparison (const Constant &e1, const Constant &e2)
 
- Protected Member Functions inherited from flopc::Boolean_base
 Boolean_base ()
 
virtual ~Boolean_base ()
 
- Protected Attributes inherited from flopc::Comparison
Constant left
 
Constant right
 
- Protected Attributes inherited from flopc::Boolean_base
int count
 

Detailed Description

Definition at line 132 of file MP_boolean.cpp.

Constructor & Destructor Documentation

◆ Boolean_greater()

flopc::Boolean_greater::Boolean_greater ( const Constant e1,
const Constant e2 
)
inlineprivate

Definition at line 136 of file MP_boolean.cpp.

Member Function Documentation

◆ evaluate()

bool flopc::Boolean_greater::evaluate ( ) const
inlineprivatevirtual

Implements flopc::Boolean_base.

Definition at line 137 of file MP_boolean.cpp.

Friends And Related Function Documentation

◆ operator> [1/2]

MP_boolean operator> ( const MP_index_exp e1,
const MP_index_exp e2 
)
friend

constructs a boolean evaluator using operator overloadingThis is used in the normal formation of an expression. This is useful when combining index expressions.

Parameters
e1is an index expression involving an MP_index
e2second index expression
  • used in forming sets of tuples of index values, or subsets.
Todo:
improve this a bit?

Definition at line 193 of file MP_boolean.cpp.

◆ operator> [2/2]

MP_boolean operator> ( const Constant e1,
const Constant e2 
)
friend

constructs a boolean evaluator by comparing two constants.This is used in the normal formation of an expression. This utility of this is when comparing constants

Parameters
e1first constant expression
e2second constant expression

Definition at line 196 of file MP_boolean.cpp.


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