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

Violations checker for the separation oracle in the bounded degree minimum spanning tree problem. More...

#include <bounded_degree_mst_oracle.hpp>

Public Types

using Candidate = std::pair< AuxVertex, AuxVertex >
 
using CandidateList = std::vector< Candidate >
 

Public Member Functions

template<typename Problem , typename LP >
const CandidateList & get_violation_candidates (const Problem &problem, const LP &lp)
 
template<typename Problem >
Violation check_violation (Candidate candidate, const Problem &problem)
 
template<typename Problem , typename LP >
void add_violated_constraint (Candidate violating_pair, const Problem &problem, LP &lp)
 

Detailed Description

Violations checker for the separation oracle in the bounded degree minimum spanning tree problem.

Definition at line 34 of file bounded_degree_mst_oracle.hpp.

Member Function Documentation

template<typename Problem , typename LP >
void paal::ir::bdmst_violation_checker::add_violated_constraint ( Candidate  violating_pair,
const Problem &  problem,
LP lp 
)
inline

Adds a violated constraint to the LP.

Definition at line 73 of file bounded_degree_mst_oracle.hpp.

template<typename Problem >
Violation paal::ir::bdmst_violation_checker::check_violation ( Candidate  candidate,
const Problem &  problem 
)
inline

Checks if the given constraint candidate is violated an if it is, returns the violation value and violated constraint ID.

Definition at line 60 of file bounded_degree_mst_oracle.hpp.

template<typename Problem , typename LP >
const CandidateList& paal::ir::bdmst_violation_checker::get_violation_candidates ( const Problem &  problem,
const LP lp 
)
inline

Returns an iterator range of violated constraint candidates.

Definition at line 48 of file bounded_degree_mst_oracle.hpp.


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