Lines Matching refs:plan
284 * change their output during plan execution. This is called "stay
624 * Extract a plan for resatisfaction starting from the given source
626 * assumes that stay optimization is desired; the plan will contain
629 * not included in the plan.
631 * to the plan under construction. A constraint may be appended to
632 * the plan when all its input variables are known. A variable is
634 * been computed by a constraint appearing earlier in the plan), b)
635 * the variable is 'stay' (i.e. it is a constant at plan execution
644 var plan = new Plan();
649 plan.addConstraint(c);
654 return plan;
658 * Extract a plan for resatisfying starting from the output of the
666 // not in plan already and eligible for inclusion
747 * A Plan is an ordered list of constraints to be executed in sequence
751 function Plan() {
755 Plan.prototype.addConstraint = function (c) {
759 Plan.prototype.size = function () {
763 Plan.prototype.constraintAt = function (index) {
767 Plan.prototype.execute = function () {
783 * and executing a constraint satisfaction plan. There are two cases.
810 var plan = planner.extractPlanFromConstraints(edits);
813 plan.execute();
860 var plan = planner.extractPlanFromConstraints(edits);
863 plan.execute();