Package pal.distance
Class ReadDistanceMatrix
- java.lang.Object
-
- pal.distance.DistanceMatrix
-
- 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
Constructors Constructor Description ReadDistanceMatrix(java.io.PushbackReader input)
read from streamReadDistanceMatrix(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
-
-
-
-
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
-
-