|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.hops.dm.tad.Domain
public class Domain
Constructor Summary | |
---|---|
Domain()
|
Method Summary | |
---|---|
static attrval |
action(attrval pag_attribute)
returns the action confirmation of the pagination action |
static boolean |
AnswerIsRelevant(queueact queuesrc,
attrval quest)
There is a relevant answer for the question in the queue 4:forall(latest_moves/elem = Answer(A'), not fst(/shared/qud, Q) and domain :: relevant(A',Q) ) from select.cpp: no answer is relevant to any question on QUD |
static boolean |
AnswerIsRelevant(queueact queuesrc,
stackp quds)
There is a relevant answer for the question in the queue 4:forall(latest_moves/elem = Answer(A'), not fst(/shared/qud, Q) and domain :: relevant(A',Q) ) from select.cpp: no answer is relevant to any question on QUD |
static attrval |
combine(attrval contans,
attrval contQUD)
combines returns the value in contans |
static boolean |
compatible(attrval attr1,
attrval attr2)
incompatible attributes: same name, different values except for those attributes that accept more than one value -> requesteddata -> object -> queryfocus |
static stackp |
ObtainAnswers(stackp stackin)
Obtain the attributes that are not yes-no props |
static attrval |
ObtainPaginationProp(stackp issuestack,
attrval pagprop)
Search a proposition in the stack that has the name of the pagination attribute |
static boolean |
ObtainPropResolvesQUD(stackp propstack,
stackp qudstack,
attrval prop,
attrval qud)
obtain the proposition in the propstack that solves a qud in the qudstack in(/shared/qud, Q) not in(/private/bel, P) and domain::resolves(P,Q) from update ( recover_plan ) |
static boolean |
ObtainPropResolvesRespondQUD(stackp propstack,
stackact qudstack,
attrval prop,
action qud)
Search the proposition that solves the question in(/private/agenda, respond(Q)) not in(private/bel,P) and domain::resolves(P,Q) if not found, return an empty prop, and the first qud in the stack from update ( findPlan ) |
static attrval |
ObtainPropSolution(stackp stprop,
attrval fact)
search a proposition in the stack that solves the question in the second parameter in(STACK,P) domain :: resolves(P,Q) |
static stackact |
ObtainQUDResolvesProp(stackp propstack,
stackact qudstack)
obtain all the questions in the qudstack that are solved by the propositions in the propstack in(/private/Plan, Q) in(/shared/issues, P) and domain::resolves(P,Q) from integrate.cpp ( downdateissues3 ) |
static attrval |
ObtainQUDSolution(stackp stprop,
attrval prop)
search a Qud in the stack that solves the prop in the last position of the QUD stak in(shared/ISSUES,IssueQ) fst(shared/ISSUES,Q) domain :: resolves(Q,IssueQ) from integrate ( downdateISSUES2 ) |
static queueact |
ObtainRelevantANS(queueact queuein,
attrval qud)
Search all the answers in the queue that are relevant for the quesiton in the second parameter 5:not ( first(shared/qud, und(usr*C)) and in(Moves,answer(D)) and domain::relevant(D,und(usr*C))) |
static queueact |
ObtainRelevantANS(queuepair queuein,
attrval qud)
Search all the answers in the queue that are relevant for the quesiton in the second parameter not A/elem = answer(A) and domain::relevant(A,Q) the latest utterance is relevant to Q neither by answering it not by asking a question on which Q pedens |
static attrval |
ObtainRelevantIssue(stackp issuestack,
attrval answer)
Search a proposition in the stack that is relevant for the prop in the second parameter 4:in(/shared/issues, Q) // the answer is relevant to an issues with is on 6:domain::relevant(A,Q) |
static boolean |
relevant_issue(attrval contans,
attrval contQUD)
Tests wheter the contans is relevant to the contQUD |
static boolean |
relevant(attrval contans,
action contQUD)
relevant content to qud if the same attribute and has value relevant(A,Q) if resolves(A,Q) and A:Proposition and Q:question negative answer to wh-questions and alt-Questions are relevant but no resolving |
static boolean |
resolves(attrval contans,
attrval contQUD)
solves content to qud if the same attribute and has value |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Domain()
Method Detail |
---|
public static attrval action(attrval pag_attribute)
public static boolean relevant_issue(attrval contans, attrval contQUD)
public static boolean relevant(attrval contans, action contQUD)
public static boolean resolves(attrval contans, attrval contQUD)
public static attrval combine(attrval contans, attrval contQUD)
public static boolean compatible(attrval attr1, attrval attr2)
public static attrval ObtainPropSolution(stackp stprop, attrval fact)
stprop
- the list of propositionsfact
- the question
public static attrval ObtainQUDSolution(stackp stprop, attrval prop)
stprop
- the list of propositionsprop
- the proposition
public static boolean ObtainPropResolvesQUD(stackp propstack, stackp qudstack, attrval prop, attrval qud)
propstack
- the list of propositionsqudstack
- the list of questionsprop
- the proposition if foundqud
- the question if found
public static stackact ObtainQUDResolvesProp(stackp propstack, stackact qudstack)
propstack
- the list of propositionsqudstack
- the list of qustions
public static boolean ObtainPropResolvesRespondQUD(stackp propstack, stackact qudstack, attrval prop, action qud)
propstack
- the list of believesqudstack
- the agendaprop
- the propositionqud
- the question if found
public static boolean AnswerIsRelevant(queueact queuesrc, stackp quds)
queuesrc
- the list of actionsquds
- the list of questionspublic static boolean AnswerIsRelevant(queueact queuesrc, attrval quest)
queuesrc
- the list of actionsquest
- the questionpublic static queueact ObtainRelevantANS(queueact queuein, attrval qud)
queuein
- the list of actionsqud
- the question
public static queueact ObtainRelevantANS(queuepair queuein, attrval qud)
queuein
- the list of actionsqud
- the question
public static attrval ObtainRelevantIssue(stackp issuestack, attrval answer)
issuestack
- the list of attributesanswer
- the attribute
public static attrval ObtainPaginationProp(stackp issuestack, attrval pagprop)
issuestack
- the list of attributespagprop
- the pagination attribute
public static stackp ObtainAnswers(stackp stackin)
stackin
- the list of attributes
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |