jprotein.tree.tools
Class NJ

java.lang.Object
  extended by jprotein.tree.tools.NJ

public class NJ
extends java.lang.Object


Constructor Summary
NJ(MultiAlignment multiAlignment, SubstitutionMatrix sm)
           
 
Method Summary
 DistanceMatrix getDistanceMatrix()
           
 Node getTree()
           
 void rootTree()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NJ

public NJ(MultiAlignment multiAlignment,
          SubstitutionMatrix sm)
   throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

getDistanceMatrix

public DistanceMatrix getDistanceMatrix()

getTree

public Node getTree()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

rootTree

public void rootTree()