Modifier and Type | Method and Description |
---|---|
void |
addBeliefSetListener(IBeliefSetListener listener)
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.
|
void |
modified(Object fact)
Indicate that a fact of this belief set 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.
|
getModelElement
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()
int size()
void modified(Object fact)
Class getClazz()
void addBeliefSetListener(IBeliefSetListener listener)
listener
- The belief set listener.void removeBeliefSetListener(IBeliefSetListener listener)
listener
- The belief set listener.Copyright © 2013. All Rights Reserved.