|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectConstraints.NoConstraints
public class NoConstraints
Simple implementation of Constrainer
that imposes no constraints
Constructor Summary | |
---|---|
NoConstraints(java.util.Set<java.lang.String> allStates)
Constructor |
Method Summary | |
---|---|
SiteConstraints |
getConstraints(Tree t,
Site s)
Gets the consraints on an the external nodes of a site given the tree and the state of the leafs. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NoConstraints(java.util.Set<java.lang.String> allStates)
allStates
- The set of all possible states. Needed as the internal
nodes will be constrained to these values. As these are all the posisble
values there are no constraints.Method Detail |
---|
public SiteConstraints getConstraints(Tree t, Site s)
Constrainer
getConstraints
in interface Constrainer
t
- The trees
- The site (need not include data on internal leaves)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |