- public Score(ConservationMethod method, List<Float> scores) {\r
- this.method = method;\r
+ /**\r
+ * Instantiate the Score\r
+ * \r
+ * @param method\r
+ * the ConservationMethod with which {@code scores} were\r
+ * calculated\r
+ * @param scores\r
+ * the actual conservation values for each column of the\r
+ * alignment\r
+ */\r
+ public Score(Enum<?> method, ArrayList<Float> scores) {\r
+ this.method = method.toString();\r
+ this.scores = new ArrayList<Float>(scores);\r
+ }\r
+\r
+ /**\r
+ * @param method\r
+ * the ConservationMethod with which {@code scores} were\r
+ * calculated\r
+ * @param scores\r
+ * the actual conservation values for each column of the\r
+ * alignment\r
+ * @param ranges\r
+ * The set of ranges i.e. parts of the sequence with specific\r
+ * function, usually can be calculated based on scores\r
+ */\r
+ public Score(Enum<?> method, ArrayList<Float> scores, TreeSet<Range> ranges) {\r
+ this.method = method.toString();\r
+ this.ranges = ranges;\r