jebl.evolution.trees
Class MostProbableTopology
java.lang.Object
jebl.evolution.trees.MostProbableTopology
public class MostProbableTopology
- extends java.lang.Object
Given a set of trees determine the most probable trees, i.e. the most frequent topologies.
Set branch lengths / node heights from set conditional on topology.
- Version:
- $Id: MostProbableTopology.java 889 2008-02-27 01:13:21Z matt_kearse $
- Author:
- Joseph Heled
Method Summary |
java.util.List<Tree> |
get(int max,
double threshold)
Get the most probable tree(s) |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MostProbableTopology
public MostProbableTopology(java.util.Collection<? extends Tree> trees)
- Parameters:
trees
-
get
public java.util.List<Tree> get(int max,
double threshold)
- Get the most probable tree(s)
- Parameters:
max
- At most this number of trees (max <= 0 is ignored)threshold
- (in [01]) return first K topologies whose total frequencey is greater that threshold.
- Returns:
- probable trees
http://code.google.com/p/jebl2/