All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Macros Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
paal::ir::round_condition_equals<> Class Template Reference

Column rounding component. Rounds a column if its value is equal to one of the template parameter values. Edge case (no template parameter values). More...

#include <ir_components.hpp>

Public Member Functions

 round_condition_equals (double epsilon=utils::compare< double >::default_epsilon())
 constructor takes epsilon used in double comparison.
 

Protected Member Functions

template<typename LP >
boost::optional< double > get (const LP &lp, double x)
 Edge case: return false.
 

Protected Attributes

const utils::compare< double > m_compare
 Double comparison object.
 

Detailed Description

template<>
class paal::ir::round_condition_equals<>

Column rounding component. Rounds a column if its value is equal to one of the template parameter values. Edge case (no template parameter values).

Definition at line 114 of file ir_components.hpp.


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