Package pal.treesearch
Class UnconstrainedModel
- java.lang.Object
-
- pal.treesearch.UnconstrainedModel
-
- All Implemented Interfaces:
ConstraintModel
public class UnconstrainedModel extends java.lang.Object implements ConstraintModel
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface pal.treesearch.ConstraintModel
ConstraintModel.GroupManager
-
-
Constructor Summary
Constructors Constructor Description UnconstrainedModel(UnconstrainedLikelihoodModel.Instance likelihoodModel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConditionalProbabilityStorecreateAppropriateConditionalProbabilityStore(boolean isForLeaf)UnconstrainedLikelihoodModel.ExternalcreateNewFreeExternal()UnconstrainedLikelihoodModel.InternalcreateNewFreeInternal()UnconstrainedLikelihoodModel.LeafcreateNewFreeLeaf(int[] patternStateMatchup, int numberOfPatterns)java.lang.String[][]getCladeConstraints(java.lang.String[] allLabelSet)Obtain the permanent clade sets.ConstraintModel.GroupManagergetGlobalClockConstraintGrouping(java.lang.String[] leafLabelSet)Enquire about the clock constraint grouping of the leafNeoParameterizedgetGlobalParameterAccess()java.lang.StringgetRateModelSummary()
-
-
-
Constructor Detail
-
UnconstrainedModel
public UnconstrainedModel(UnconstrainedLikelihoodModel.Instance likelihoodModel)
-
-
Method Detail
-
getCladeConstraints
public java.lang.String[][] getCladeConstraints(java.lang.String[] allLabelSet)
Description copied from interface:ConstraintModelObtain the permanent clade sets. That is, when randomly building the tree, and when tree searching, what labels must always form a clade.- Specified by:
getCladeConstraintsin interfaceConstraintModel- Parameters:
allLabelSet- The set of all leaf labels in the tree- Returns:
- An array of string arrays dividing up the label set
-
getGlobalClockConstraintGrouping
public ConstraintModel.GroupManager getGlobalClockConstraintGrouping(java.lang.String[] leafLabelSet)
Description copied from interface:ConstraintModelEnquire about the clock constraint grouping of the leaf- Specified by:
getGlobalClockConstraintGroupingin interfaceConstraintModel- Returns:
- the grouping of the leaf, or null if outside the leaf is unconstrained (free)
-
createNewFreeLeaf
public UnconstrainedLikelihoodModel.Leaf createNewFreeLeaf(int[] patternStateMatchup, int numberOfPatterns)
- Specified by:
createNewFreeLeafin interfaceConstraintModel
-
createNewFreeExternal
public UnconstrainedLikelihoodModel.External createNewFreeExternal()
- Specified by:
createNewFreeExternalin interfaceConstraintModel
-
createNewFreeInternal
public UnconstrainedLikelihoodModel.Internal createNewFreeInternal()
- Specified by:
createNewFreeInternalin interfaceConstraintModel
-
createAppropriateConditionalProbabilityStore
public ConditionalProbabilityStore createAppropriateConditionalProbabilityStore(boolean isForLeaf)
- Specified by:
createAppropriateConditionalProbabilityStorein interfaceConstraintModel
-
getGlobalParameterAccess
public NeoParameterized getGlobalParameterAccess()
- Specified by:
getGlobalParameterAccessin interfaceConstraintModel
-
getRateModelSummary
public java.lang.String getRateModelSummary()
- Specified by:
getRateModelSummaryin interfaceConstraintModel
-
-