Lines Matching refs:strength

91  * New strengths may be inserted in the strength hierarchy without
143 * a strength instance variable; concrete subclasses provide a means
147 function Constraint(strength) {
148 this.strength = strength;
169 if (this.strength == Strength.REQUIRED)
206 function UnaryConstraint(v, strength) {
207 UnaryConstraint.superConstructor.call(this, strength);
229 && Strength.stronger(this.strength, this.myOutput.walkStrength);
251 * Calculate the walkabout strength, the stay flag, and, if it is
256 this.myOutput.walkStrength = this.strength;
335 function BinaryConstraint(var1, var2, strength) {
336 BinaryConstraint.superConstructor.call(this, strength);
347 * should flow based on the relative strength of the variables related,
352 this.direction = (this.v1.mark != mark && Strength.stronger(this.strength, this.v2.walkStrength))
357 this.direction = (this.v1.mark != mark && Strength.stronger(this.strength, this.v1.walkStrength))
362 this.direction = Strength.stronger(this.strength, this.v1.walkStrength)
366 this.direction = Strength.stronger(this.strength, this.v2.walkStrength)
410 * Calculate the walkabout strength, the stay flag, and, if it is
416 out.walkStrength = Strength.weakestOf(this.strength, ihn.walkStrength);
449 function ScaleConstraint(src, scale, offset, dest, strength) {
453 ScaleConstraint.superConstructor.call(this, src, dest, strength);
490 * Calculate the walkabout strength, the stay flag, and, if it is
496 out.walkStrength = Strength.weakestOf(this.strength, ihn.walkStrength);
508 function EqualityConstraint(var1, var2, strength) {
509 EqualityConstraint.superConstructor.call(this, var1, var2, strength);
596 * strength, strongest first, as a heuristic for avoiding
605 var strength = Strength.REQUIRED;
609 if (u.strength == strength)
612 strength = strength.nextWeaker();
613 } while (strength != Strength.WEAKEST);
704 * unsatisfied constraints sorted in order of decreasing strength.