jebl.evolution.trees
Class ConsensusTreeBuilder<T extends Tree>
java.lang.Object
jebl.evolution.trees.ConsensusTreeBuilder<T>
- All Implemented Interfaces:
- TreeBuilder<T>
- Direct Known Subclasses:
- GreedyRootedConsensusTreeBuilder, GreedyUnrootedConsensusTreeBuilder, MRCACConsensusTreeBuilder
public abstract class ConsensusTreeBuilder<T extends Tree>
- extends Object
- implements TreeBuilder<T>
Build a consensus tree for a set of trees. Base class just check for consistency
Work in progress.
- Author:
- Joseph Heled
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_SUPPORT_ATTRIBUTE_NAME
public static final String DEFAULT_SUPPORT_ATTRIBUTE_NAME
- Name of attribute specifing amount of support for branch
- See Also:
- Constant Field Values
nExternalNodes
protected final int nExternalNodes
- Number of external nodes/taxa
taxons
protected List<Taxon> taxons
- List of common taxa in all trees
getSupportAttributeName
public String getSupportAttributeName()
isSupportAsPercent
public boolean isSupportAsPercent()
addProgressListener
public void addProgressListener(ProgressListener listener)
- Specified by:
addProgressListener
in interface TreeBuilder<T extends Tree>
removeProgressListener
public void removeProgressListener(ProgressListener listener)
- Specified by:
removeProgressListener
in interface TreeBuilder<T extends Tree>
fireSetProgress
protected boolean fireSetProgress(double fractionCompleted)