softparsmap
Class PreferredTreeStandard

java.lang.Object
  extended byooc.LinkedTagInstance
      extended bysoftparsmap.PreferredTree
          extended bysoftparsmap.PreferredTreeStandard
All Implemented Interfaces:
java.util.Comparator, Dependencies

public class PreferredTreeStandard
extends PreferredTree


Constructor Summary
PreferredTreeStandard()
           
 
Method Summary
 int compare(java.lang.Object o1, java.lang.Object o2)
           
 java.lang.String getDesc(GeneNode gt)
          Returns the data used in the given gene tree that is used to choose the preferred tree.
 
Methods inherited from class softparsmap.PreferredTree
getFreeGeneTree, getSpeciesTree, setFreeGeneTree, setSpeciesTree
 
Methods inherited from class ooc.LinkedTagInstance
containsKey, get, getAttribute, getAttributeBoolean, getAttributeDouble, getAttributeFloat, getAttributeInteger, getAttributeList, getAttributeRef, getAttributeShort, getAttributeString, getAttributeTag, getChildIterator, getChildIteratorByName, getContainer, getContainerTag, getFirstChildTagByName, getTag, getTagId, getTagInstance, getTagInstance, getTagRef, hasAttributeValue, hasChildTagByName, hasChildTags, hasTag, isMutable, keySet, put, remove, setTag, setupInstance
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

PreferredTreeStandard

public PreferredTreeStandard()
Method Detail

compare

public int compare(java.lang.Object o1,
                   java.lang.Object o2)

getDesc

public java.lang.String getDesc(GeneNode gt)
Description copied from class: PreferredTree
Returns the data used in the given gene tree that is used to choose the preferred tree.

Specified by:
getDesc in class PreferredTree
Parameters:
gt - is the given gene tree.
Returns:
the data used to choose the preferred tree.