2
* \brief Remove overlaps function
5
* Tim Dwyer <tgdwyer@gmail.com>
7
* Copyright (C) 2005 Authors
9
* Released under GNU GPL. Read the file 'COPYING' for more information.
12
#include "constraint.h"
14
Constraint::Constraint(Variable *left, Variable *right, double gap)
17
left->out.push_back(this);
19
right->in.push_back(this);
25
std::ostream& operator <<(std::ostream &os, const Constraint &c)
27
os<<*c.left<<"+"<<c.gap<<"<="<<*c.right<<"("<<c.slack()<<")";