31 std::vector<Variable*>
vars;
55 std::vector<Constraint *>
in;
56 std::vector<Constraint *>
out;
58 typedef enum {NONE, LEFT, RIGHT} Direction;
59 typedef std::pair<double, Constraint*>
Pair;
62 Pair compute_dfdv_between(
68 std::vector<Constraint *> setUpConstraintHeap(
bool use_in);
static agxbuf last
last message
std::vector< Constraint * > out
Block(const Block &)=delete
Constraint * findMinInConstraint()
std::vector< Variable * > vars
friend std::ostream & operator<<(std::ostream &os, const Block &b)
Constraint * splitBetween(Variable *vl, Variable *vr, Block *&lb, Block *&rb)
void deleteMinOutConstraint()
std::vector< Constraint * > in
void setUpOutConstraints()
void setUpInConstraints()
double desiredWeightedPosition()
Constraint * findMinOutConstraint()
void merge(Block *b, Constraint *c, double dist)
void deleteMinInConstraint()
Constraint * findMinLMBetween(Variable *lv, Variable *rv)
static double dist(int dim, double *x, double *y)
A constraint determines a minimum or exact spacing required between two variables.