Conversation Framework for Sand-dancer

version 2 by Aaron Reed

  • Home page
  • Beginning
  • Previous
  • Next



  • Book 3 - Rules

    Part 1 - Suggestion List Construction Rules


    The suggestion list construction rules are a rulebook.

    The first suggestion list construction rule (this is the use the current interlocutor's suggestion lists rule):
    now sugg-list-other is the other-suggestions of the current interlocutor;
    now sugg-list-ask is the ask-suggestions of the current interlocutor;
    now sugg-list-tell is the tell-suggestions of the current interlocutor.

    The last suggestion list construction rule (this is the exclude unknown items from suggestions rule):
    Let u-list be the list of unknown things;
    remove u-list from sugg-list-ask, if present;
    remove u-list from sugg-list-tell, if present;
    if the number of entries in sugg-list-other > 0 begin;
    remove u-list from sugg-list-other, if present;
    sort sugg-list-other in seqno order;
    end if.

    The last suggestion list construction rule (this is the refer to current interlocutor as him-herself in suggestions rule):
    if the current interlocutor is listed in sugg-list-ask begin;
    remove the current interlocutor from sugg-list-ask;
    add self-suggestion at entry 1 in sugg-list-ask;
    end if;
    if the current interlocutor is listed in sugg-list-tell begin;
    remove the current interlocutor from sugg-list-tell;
    add self-suggestion at entry 1 in sugg-list-tell;
    end if.