All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Macros Pages
Public Member Functions | List of all members
paal::ir::ta_round_condition Struct Reference

#include <tree_augmentation.hpp>

Public Member Functions

 ta_round_condition (double epsilon=ta_compare_traits::EPSILON)
template<typename Problem , typename LP >
boost::optional< double > operator() (Problem &problem, LP &lp, lp::col_id col)

Detailed Description

Round Condition of the IR Tree Augmentation algorithm.

Definition at line 106 of file tree_augmentation.hpp.

Constructor & Destructor Documentation

paal::ir::ta_round_condition::ta_round_condition ( double  epsilon = ta_compare_traits::EPSILON)

Constructor. Takes epsilon used in double comparison.

Definition at line 110 of file tree_augmentation.hpp.

Member Function Documentation

template<typename Problem , typename LP >
boost::optional<double> paal::ir::ta_round_condition::operator() ( Problem &  problem,
LP lp,
lp::col_id  col 

Rounds a column up if it is at least half in the current solution. If the column is rounded, the corresponding edge is added to the result.

Definition at line 119 of file tree_augmentation.hpp.

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