Lines Matching refs:strength

97  * New strengths may be inserted in the strength hierarchy without
149 * a strength instance variable; concrete subclasses provide a means
153 function Constraint(strength) {
154 this.strength = strength;
175 if (this.strength == Strength.REQUIRED)
212 function UnaryConstraint(v, strength) {
213 UnaryConstraint.superConstructor.call(this, strength);
235 && Strength.stronger(this.strength, this.myOutput.walkStrength);
257 * Calculate the walkabout strength, the stay flag, and, if it is
262 this.myOutput.walkStrength = this.strength;
341 function BinaryConstraint(var1, var2, strength) {
342 BinaryConstraint.superConstructor.call(this, strength);
353 * should flow based on the relative strength of the variables related,
358 this.direction = (this.v2.mark != mark && Strength.stronger(this.strength, this.v2.walkStrength))
363 this.direction = (this.v1.mark != mark && Strength.stronger(this.strength, this.v1.walkStrength))
368 this.direction = Strength.stronger(this.strength, this.v1.walkStrength)
372 this.direction = Strength.stronger(this.strength, this.v2.walkStrength)
416 * Calculate the walkabout strength, the stay flag, and, if it is
422 out.walkStrength = Strength.weakestOf(this.strength, ihn.walkStrength);
455 function ScaleConstraint(src, scale, offset, dest, strength) {
459 ScaleConstraint.superConstructor.call(this, src, dest, strength);
496 * Calculate the walkabout strength, the stay flag, and, if it is
502 out.walkStrength = Strength.weakestOf(this.strength, ihn.walkStrength);
514 function EqualityConstraint(var1, var2, strength) {
515 EqualityConstraint.superConstructor.call(this, var1, var2, strength);
602 * strength, strongest first, as a heuristic for avoiding
611 var strength = Strength.REQUIRED;
615 if (u.strength == strength)
618 strength = strength.nextWeaker();
619 } while (strength != Strength.WEAKEST);
710 * unsatisfied constraints sorted in order of decreasing strength.