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