From b84a8ba7a9f12b179ae2a0c83bf8dfd8d1e97540 Mon Sep 17 00:00:00 2001 From: kjvdheide Date: Sat, 28 Oct 2017 21:50:03 +0100 Subject: [PATCH] Added getValues and write to DistanceMatrix interface for broader use --- .../forester/evoinference/matrix/distance/DistanceMatrix.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/forester/java/src/org/forester/evoinference/matrix/distance/DistanceMatrix.java b/forester/java/src/org/forester/evoinference/matrix/distance/DistanceMatrix.java index 0a332b2..05ddd02 100644 --- a/forester/java/src/org/forester/evoinference/matrix/distance/DistanceMatrix.java +++ b/forester/java/src/org/forester/evoinference/matrix/distance/DistanceMatrix.java @@ -25,6 +25,10 @@ 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; } -- 1.7.10.2