Main Page   Class Hierarchy   Compound List   File List   Contact   Download   Symbolic Constraints   Examples  

SCIL::TJOIN< Graph > Class Template Reference

The symbolic constraint for T-Joins. More...

#include <tjoin.h>

Inheritance diagram for SCIL::TJOIN< Graph >:
Inheritance graph
[legend]
Collaboration diagram for SCIL::TJOIN< Graph >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 TJOIN (Graph &G_, var_map< edge_descriptor > &VM_, std::map< vertex_descriptor, bool > &T_)
void init (subproblem &S)
status standard_separation (subproblem &S)
status feasible (solution &S)

Detailed Description

template<typename Graph>
class SCIL::TJOIN< Graph >

This symbolic constraint takes as arguments an undirected Graph G, a var_map<edge_descriptor> VM , which maps every edge of the graph to a binary variable, and a map<vertex_descriptor,bool> T. A vertex x is in T if and only if T[x]=true .

Definition at line 25 of file tjoin.h.


Constructor & Destructor Documentation

template<typename Graph >
SCIL::TJOIN< Graph >::TJOIN ( Graph G_,
var_map< edge_descriptor > &  VM_,
std::map< vertex_descriptor, bool > &  T_ 
)

Preconditions:

  • The variables associated to the edges are binary.
  • The Graph has to be undirected
  • The vertex set T has to be of even cardinality

Member Function Documentation

template<typename Graph >
TJOIN< Graph >::status TJOIN::feasible ( solution S  )  [inline, virtual]

Returns feasible_solution if the induced Graph is a T-Join

Reimplemented from SCIL::sym_constraint.

Definition at line 55 of file tjoin.cc.

References SCIL::solution::value().

template<typename Graph >
void TJOIN::init ( subproblem  )  [inline, virtual]

This function is called before the first LP at the root of the BCP-tree is solved.

Reimplemented from SCIL::sym_constraint.

Definition at line 48 of file tjoin.cc.

References SCIL::subproblem::configuration().

template<typename Graph >
TJOIN< Graph >::status TJOIN::standard_separation ( subproblem S  )  [inline, virtual]

Separates the T-Cut inequalities

Reimplemented from SCIL::sym_constraint.

Definition at line 71 of file tjoin.cc.

References SCIL::subproblem::add_basic_constraint(), and SCIL::subproblem::value().


The documentation for this class was generated from the following files:
Generated on Mon Mar 28 22:03:52 2011 for SCIL by  doxygen 1.6.3