|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.udo.cs.ie.cowbots.bdi.brf.operators.ExpansionOperator
public class ExpansionOperator
a knowledge operator that adds new information objects by expansion.
Field Summary | |
---|---|
private java.util.List<InformationObject> |
beliefBaseSequence
|
Constructor Summary | |
---|---|
ExpansionOperator()
|
Method Summary | |
---|---|
void |
deleteFacts(java.util.Set<ELPLiteral> toDel)
method that might ist called by the revision engine for facts occuring in the reject set of an inference operator. each knowledge operator is free to process or ignore the call. |
ELP |
getStateProgram()
method that returns an extended logical programm (or null) that is concatenated to the belief state, therefore bypassing any belief state construction. |
void |
init(org.w3c.dom.Element config)
default initialization routine, will be called by the revision engine with a configuration description in xml |
void |
processBeliefSet(BeliefSet bs,
BeliefBase base)
method that is called after the revision (asp call and answer set clearance) to add/delete beliefs to the belief set. the behavior depends on the implemented knowledge operator semantics. |
void |
reset()
resets the knowledge operator, putting it back into a neutral state. |
boolean |
update(java.util.List<InformationObject> updates,
BeliefBase belbase)
this method integrates information objects into the belief base. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.util.List<InformationObject> beliefBaseSequence
Constructor Detail |
---|
public ExpansionOperator()
Method Detail |
---|
public boolean update(java.util.List<InformationObject> updates, BeliefBase belbase)
IKnowledgeOperator
update
in interface IKnowledgeOperator
updates
- new information objectsbelbase
- operator's belief base
public void init(org.w3c.dom.Element config)
IKnowledgeOperator
init
in interface IKnowledgeOperator
config
- XML Element describing operator setuppublic void deleteFacts(java.util.Set<ELPLiteral> toDel)
IKnowledgeOperator
deleteFacts
in interface IKnowledgeOperator
toDel
- set of (head) literals to purge from the belief basepublic void processBeliefSet(BeliefSet bs, BeliefBase base)
IKnowledgeOperator
processBeliefSet
in interface IKnowledgeOperator
public ELP getStateProgram()
IKnowledgeOperator
getStateProgram
in interface IKnowledgeOperator
public void reset()
IKnowledgeOperator
reset
in interface IKnowledgeOperator
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |