public class NoConstraints extends java.lang.Object implements Constrainer
Constrainer
that imposes no constraintsConstructor and Description |
---|
NoConstraints(java.util.Set<java.lang.String> allStates)
Constructor
|
Modifier and Type | Method and Description |
---|---|
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.
|
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.public SiteConstraints getConstraints(Tree t, Site s)
Constrainer
getConstraints
in interface Constrainer
t
- The trees
- The site (need not include data on internal leaves)