From: kjvdheide Date: Thu, 26 Oct 2017 14:17:58 +0000 (+0100) Subject: added abbreviations X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=cc2b217e11a5ad7ae4d03c693ed7142e843fc0d3;p=jalview.git added abbreviations --- 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 -}