public class SubsetProposition extends AbstractDerivedProposition
| Constructor and Description |
|---|
SubsetProposition(java.lang.String name,
FiniteDomain subsetDomain,
RandomVariable ofVar) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
holds(java.util.Map<RandomVariable,java.lang.Object> possibleWorld)
Determine whether or not the proposition holds in a particular possible
world.
|
java.lang.String |
toString() |
getDerivedNameaddScope, addScope, addUnboundScope, addUnboundScope, getScope, getUnboundScopeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetScope, getUnboundScopepublic SubsetProposition(java.lang.String name,
FiniteDomain subsetDomain,
RandomVariable ofVar)
public boolean holds(java.util.Map<RandomVariable,java.lang.Object> possibleWorld)
Propositionholds in interface Propositionholds in class AbstractPropositionpossibleWorld - A possible world is defined to be an assignment of values to
all of the random variables under consideration.public java.lang.String toString()
toString in class java.lang.Object