|
Jadex 0.96-beta1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IBeliefSet
Interface for all beliefsets (concrete and referenced).
Method Summary | |
---|---|
void |
addBeliefSetListener(IBeliefSetListener listener,
boolean async)
Add a belief set listener. |
void |
addFact(Object fact)
Add a fact to a belief. |
void |
addFacts(Object[] values)
Add facts to a parameter set. |
boolean |
containsFact(Object fact)
Test if a fact is contained in a belief. |
Class |
getClazz()
Get the value class. |
Object |
getFact(Object oldval)
Get a value equal to the given object. |
Object[] |
getFacts()
Get the facts of a beliefset. |
boolean |
isAccessible()
Is this belief accessable. |
void |
modified()
Indicate that the fact of this belief was modified. |
void |
removeBeliefSetListener(IBeliefSetListener listener)
Remove a belief set listener. |
void |
removeFact(Object fact)
Remove a fact to a belief. |
void |
removeFacts()
Remove all facts from a belief. |
int |
size()
Get the number of values currently contained in this set. |
void |
updateFact(Object newfact)
Update a fact to a new fact. |
Methods inherited from interface jadex.runtime.IElement |
---|
getModelElement, getName |
Method Detail |
---|
void addFact(Object fact)
fact
- The new fact.void removeFact(Object fact)
fact
- The new fact.void addFacts(Object[] values)
void removeFacts()
Object getFact(Object oldval)
oldval
- The old value.boolean containsFact(Object fact)
fact
- The fact to test.
Object[] getFacts()
void updateFact(Object newfact)
newfact
- The new fact.int size()
void modified()
Class getClazz()
boolean isAccessible()
void addBeliefSetListener(IBeliefSetListener listener, boolean async)
listener
- The belief set listener.async
- True, if the notification should be done on a separate thread.void removeBeliefSetListener(IBeliefSetListener listener)
listener
- The belief set listener.
|
Jadex 0.96-beta1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (C) 2002-2007 Lars Braubach, Alexander Pokahr - University of Hamburg. Use is subject to license terms.