4
* Tim Dwyer <tgdwyer@gmail.com>
6
* Copyright (C) 2005 Authors
8
* Released under GNU LGPL. Read the file 'COPYING' for more information.
10
#ifndef SEEN_REMOVEOVERLAP_VARIABLE_H
11
#define SEEN_REMOVEOVERLAP_VARIABLE_H
19
typedef std::vector<Constraint*> Constraints;
22
friend std::ostream& operator <<(std::ostream &os, const Variable &v);
24
const int id; // useful in log files
25
double desiredPosition;
33
inline Variable(const int id, const double desiredPos, const double weight)
35
, desiredPosition(desiredPos)
42
inline double position() const {
43
return block->posn+offset;
45
//double position() const;
51
#endif // SEEN_REMOVEOVERLAP_VARIABLE_H