|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IKnowledgeOperator
basic interface for all kinds of knowledge operators from the Cowbot BDI Model.
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 bb)
this method integrates information objects into the belief base. |
Method Detail |
---|
void init(org.w3c.dom.Element config)
config
- XML Element describing operator setupboolean update(java.util.List<InformationObject> updates, BeliefBase bb)
updates
- new information objectsbb
- operator's belief base
void deleteFacts(java.util.Set<ELPLiteral> toDel)
toDel
- set of (head) literals to purge from the belief basevoid processBeliefSet(BeliefSet bs, BeliefBase base)
bs
- base
- ELP getStateProgram()
void reset()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |