1 /**
2 * \brief Remove overlaps function
3 *
4 * Authors:
5 * Tim Dwyer <tgdwyer@gmail.com>
6 *
7 * Copyright (C) 2005 Authors
8 *
9 * Released under GNU GPL. Read the file 'COPYING' for more information.
10 */
11 #include "variable.h"
12 std::ostream& operator <<(std::ostream &os, const Variable &v) {
13 os << "(" << v.id << "=" << v.position() << ")";
14 return os;
15 }
17 #include "block.h"
18 double Variable::position() const {
19 return block->posn+offset;
20 }