All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Macros Pages
Public Member Functions | List of all members
paal::ir::round_condition_to_fun< Cond, F > Class Template Reference

Column rounding component. Rounds a column if its value satisfies a fixed condition. The column is rounded to a value defined by a fixed function. More...

#include <ir_components.hpp>

Public Member Functions

 round_condition_to_fun (Cond c=Cond(), F f=F())
 Constructor. Takes the rounding condition and the rounding function.
 
template<typename Problem , typename LP >
boost::optional< double > operator() (Problem &, const LP &lp, lp::col_id col)
 Rounds a column if its value satisfies a fixed condition.
 

Detailed Description

template<typename Cond, typename F>
class paal::ir::round_condition_to_fun< Cond, F >

Column rounding component. Rounds a column if its value satisfies a fixed condition. The column is rounded to a value defined by a fixed function.

Definition at line 136 of file ir_components.hpp.


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