From cc2b217e11a5ad7ae4d03c693ed7142e843fc0d3 Mon Sep 17 00:00:00 2001 From: kjvdheide Date: Thu, 26 Oct 2017 15:17:58 +0100 Subject: [PATCH] added abbreviations --- src/jalview/analysis/TreeAlgorithm.java | 14 ++++++++++++++ src/jalview/analysis/TreeAlgorithms.java | 7 ------- 2 files changed, 14 insertions(+), 7 deletions(-) create mode 100644 src/jalview/analysis/TreeAlgorithm.java delete mode 100644 src/jalview/analysis/TreeAlgorithms.java diff --git a/src/jalview/analysis/TreeAlgorithm.java b/src/jalview/analysis/TreeAlgorithm.java new file mode 100644 index 0000000..55175f2 --- /dev/null +++ b/src/jalview/analysis/TreeAlgorithm.java @@ -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 index b3ebbdc..0000000 --- a/src/jalview/analysis/TreeAlgorithms.java +++ /dev/null @@ -1,7 +0,0 @@ -package jalview.analysis; - -public enum TreeAlgorithms -{ - NEIGHBOUR_JOINING, AVERAGE_DISTANCE, MAXIMUM_PARSIMONY, - MAXIMUM_LIKELIHOOD, BAYESIAN -} -- 1.7.10.2