added abbreviations
authorkjvdheide <kjvanderheide@dundee.ac.uk>
Thu, 26 Oct 2017 14:17:58 +0000 (15:17 +0100)
committerkjvdheide <kjvanderheide@dundee.ac.uk>
Thu, 26 Oct 2017 14:17:58 +0000 (15:17 +0100)
src/jalview/analysis/TreeAlgorithm.java [new file with mode: 0644]
src/jalview/analysis/TreeAlgorithms.java [deleted file]

diff --git a/src/jalview/analysis/TreeAlgorithm.java b/src/jalview/analysis/TreeAlgorithm.java
new file mode 100644 (file)
index 0000000..55175f2
--- /dev/null
@@ -0,0 +1,14 @@
+package jalview.analysis;
+
+public enum TreeAlgorithm
+{
+  NEIGHBOUR_JOINING("NJ"), AVERAGE_DISTANCE("AV"), MAXIMUM_PARSIMONY("MP"),
+  MAXIMUM_LIKELIHOOD("ML"), BAYESIAN("BY");
+
+  private final String abbreviation;
+
+  TreeAlgorithm(String abbreviatedAlgorithm)
+  {
+    this.abbreviation = abbreviatedAlgorithm;
+  }
+}
diff --git a/src/jalview/analysis/TreeAlgorithms.java b/src/jalview/analysis/TreeAlgorithms.java
deleted file mode 100644 (file)
index b3ebbdc..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-package jalview.analysis;
-
-public enum TreeAlgorithms
-{
-  NEIGHBOUR_JOINING, AVERAGE_DISTANCE, MAXIMUM_PARSIMONY,
-  MAXIMUM_LIKELIHOOD, BAYESIAN
-}