pal.distance
Class ReadDistanceMatrix

java.lang.Object
  extended by pal.distance.DistanceMatrix
      extended by pal.distance.ReadDistanceMatrix
All Implemented Interfaces:
java.io.Serializable, IdGroup

public class ReadDistanceMatrix
extends DistanceMatrix

reads pairwise distance matrices in PHYLIP format (full matrix)

Version:
$Id: ReadDistanceMatrix.java,v 1.4 2002/12/05 04:27:28 matt Exp $
Author:
Korbinian Strimmer, Alexei Drummond
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface pal.misc.IdGroup
IdGroup.Utils
 
Constructor Summary
ReadDistanceMatrix(java.io.PushbackReader input)
          read from stream
ReadDistanceMatrix(java.lang.String file)
          read from file
 
Method Summary
 
Methods inherited from class pal.distance.DistanceMatrix
absoluteDistance, addDistance, getClonedDistances, getClosestIndex, getClosestIndex, getDistance, getDistances, getIdCount, getIdentifier, getIdGroup, getSize, isSymmetric, meanDistance, printPHYLIP, setDistance, setDistances, setIdentifier, setIdGroup, squaredDistance, toString, whichIdNumber
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ReadDistanceMatrix

public ReadDistanceMatrix(java.io.PushbackReader input)
                   throws DistanceParseException
read from stream

Throws:
DistanceParseException

ReadDistanceMatrix

public ReadDistanceMatrix(java.lang.String file)
                   throws DistanceParseException,
                          java.io.IOException
read from file

Throws:
DistanceParseException
java.io.IOException