T - the type of the belief set values.public interface BeliefSet<T> extends Belief<java.util.Set<T>>
| Modifier and Type | Method and Description |
|---|---|
void |
addValue(T value)
Adds a new value to this belief set.
|
boolean |
hasValue(T value)
Checks whether this belief set has the provided value.
|
java.util.Iterator<T> |
iterator()
Returns an iterator for this belief set.
|
boolean |
removeValue(T value)
Removes a value from this belief set.
|
addBeliefBase, getBeliefBases, getName, getValue, removeBeliefBase, setValuegetMetadata, getMetadata, hasMetadata, putMetadata, removeMetadatavoid addValue(T value)
value - the value to be added.boolean hasValue(T value)
value - the value to be checked.java.util.Iterator<T> iterator()
boolean removeValue(T value)
value - the value to be removed.