jebl.evolution.trees
Class ConsensusTreeBuilder<T extends Tree>

java.lang.Object
  extended by jebl.evolution.trees.ConsensusTreeBuilder<T>
All Implemented Interfaces:
TreeBuilder<T>

public abstract class ConsensusTreeBuilder<T extends Tree>
extends java.lang.Object
implements TreeBuilder<T>

A TreeBuilder that builds a consensus tree for a set of trees on identical leaf sets. This abstract base class is designed to be extended.

Version:
$Id: ConsensusTreeBuilder.java 850 2007-12-06 04:51:28Z twobeers $
Author:
Joseph Heled

Nested Class Summary
static class ConsensusTreeBuilder.Method
          Supported consensus methods.
 
Field Summary
static java.lang.String DEFAULT_SUPPORT_ATTRIBUTE_NAME
          Name of attribute specifing amount of support for branch
 
Method Summary
 void addProgressListener(ProgressListener listener)
           
abstract  java.lang.String getMethodDescription()
          Returns a human readable name of this consensus tree building method
 java.lang.String getSupportAttributeName()
           
 boolean isSupportAsPercent()
           
 void removeProgressListener(ProgressListener listener)
          Stops a ProgressListener from receiving progress.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface jebl.evolution.trees.TreeBuilder
build
 

Field Detail

DEFAULT_SUPPORT_ATTRIBUTE_NAME

public static final java.lang.String DEFAULT_SUPPORT_ATTRIBUTE_NAME
Name of attribute specifing amount of support for branch

See Also:
Constant Field Values
Method Detail

getMethodDescription

public abstract java.lang.String getMethodDescription()
Returns a human readable name of this consensus tree building method

Returns:
A human readable name of this consensus tree building method

getSupportAttributeName

public java.lang.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)
Stops a ProgressListener from receiving progress. Note: Due to threading, the the listener may keep receiving progress for a short while after this method returns.

Specified by:
removeProgressListener in interface TreeBuilder<T extends Tree>
Parameters:
listener - The ProgressListener for which to no longer report progress.


http://code.google.com/p/jebl2/