Added getValues and write to DistanceMatrix interface for broader use
authorkjvdheide <kjvanderheide@dundee.ac.uk>
Sat, 28 Oct 2017 20:50:03 +0000 (21:50 +0100)
committerkjvdheide <kjvanderheide@dundee.ac.uk>
Sat, 28 Oct 2017 20:50:03 +0000 (21:50 +0100)
forester/java/src/org/forester/evoinference/matrix/distance/DistanceMatrix.java

index 0a332b2..05ddd02 100644 (file)
 
 package org.forester.evoinference.matrix.distance;
 
+import java.io.BufferedWriter;
+import java.io.IOException;
+import java.io.Writer;
+
 public interface DistanceMatrix {
 
     public String getIdentifier( int i );
@@ -46,4 +50,6 @@ public interface DistanceMatrix {
     }
 
     public double[][] getValues();
+
+    public void write(  final Writer w ) throws IOException;
 }