Lines Matching refs:Variable
27 * A solver for the problem of Variable Placement with Separation Constraints.
55 IncSolver::IncSolver(vector<Variable*> const &vs, vector<Constraint *> const &cs)
105 Variable* v=*i;
116 bool IncSolver::constraintGraphIsCyclic(const unsigned n, Variable* const vs[]) {
117 map<Variable*, node*> varmap;
126 Variable *l=(*c)->left;
131 Variable *r=(*c)->right;
445 Blocks::Blocks(vector<Variable*> const &vs) : vs(vs),nvs(vs.size()) {
464 list<Variable*> *Blocks::totalOrder() {
465 list<Variable*> *order = new list<Variable*>;
478 void Blocks::dfsVisit(Variable *v, list<Variable*> *order) {
612 void PositionStats::addVariable(Variable* v) {
628 void Block::addVariable(Variable* v) {
645 Block::Block(Variable* const v)
646 : vars(new vector<Variable*>)
691 Variable *v=*i;
737 Variable *v=*i;
745 Variable *v=*i;
855 inline bool Block::canFollowLeft(Constraint const* c, Variable const* last) const {
858 inline bool Block::canFollowRight(Constraint const* c, Variable const* last) const {
867 double Block::compute_dfdv(Variable* const v, Variable* const u,
888 double Block::compute_dfdv(Variable* const v, Variable* const u) {
917 Variable* r,
918 Variable* const v,
919 Variable* const u,
967 Variable* r, Variable* const v, Variable* const u,
1014 void Block::reset_active_lm(Variable* const v, Variable* const u) {
1030 void Block::list_active(Variable* const v, Variable* const u) {
1067 Constraint *Block::findMinLMBetween(Variable* const lv, Variable* const rv) {
1090 void Block::populateSplitBlock(Block *b, Variable* v, Variable const* u) {
1104 bool Block::getActivePathBetween(Constraints& path, Variable const* u,
1105 Variable const* v, Variable const *w) const {
1128 bool Block::isActiveDirectedPathBetween(Variable const* u, Variable const* v) const {
1140 Constraints& path, Variable const* u, Variable const* v) const {
1158 Constraint* Block::splitBetween(Variable* const vl, Variable* const vr,
1214 Constraint::Constraint(Variable *left, Variable *right, double gap, bool equality)
1293 std::ostream& operator <<(std::ostream &os, const Variable &v) {