Planner

version 2/080503 by Nate Cull

  • Home page
  • Beginning
  • Previous
  • Next



  • Section - Planning Routines


    To suggest a goal for (C - a planning-relation) with (P1 - an object) and (P2 - an object) for plan (P - a number) at step (Sx - a number):
        change the desired relation to C;
        change the desired param1 to P1;
        change the desired param2 to P2;
        change the desired plan to P;
        change the desired step to Sx;
        change the suggested token to no-plan;
        change the suggested param1 to no-object;
        change the suggested param2 to no-object;
        follow the planning rulebook;

    To really suggest (T - a planning-token) with (P1 - an object) and (P2 - an object):
        change the suggested token to T;
        change the suggested param1 to P1;
        change the suggested param2 to P2;

    To plan (P - a number):
        change the working plan to P;
        change the working step to 0;
        if the desired plan is the working plan, change the suggested token to no-step;

    To suggest (T - a planning-token) with (P1 - an object) and (P2 - an object):
        increase the working step by 1;
        if the desired plan is the working plan and the desired step is the working step, really suggest T with P1 and P2;

    To suggest (T - a planning-token) with (P1 - an object):
        suggest T with P1 and no-object;

    To suggest (T - a planning-token):
        suggest T with no-object and no-object;