Changeset 4716
- Timestamp:
- 11/03/10 04:45:37 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Analysis/3.3/AlleleFrequencyAnalyzer.cs
r4704 r4716 186 186 allelesTable.Rows["Fixed Alleles of Best Known Solution"].Values.Add(fixedRelevantAllelesCount); 187 187 allelesTable.Rows["Lost Alleles of Best Known Solution"].Values.Add(lostRelevantAllelesCount); 188 189 // store alleles values 190 if (!results.ContainsKey("Unique Alleles")) 191 results.Add(new Result("Unique Alleles", new DoubleValue(frequenciesCollection.Count))); 192 else 193 ((DoubleValue)results["Unique Alleles"].Value).Value = frequenciesCollection.Count; 194 195 if (!results.ContainsKey("Unique Alleles of Best Known Solution")) 196 results.Add(new Result("Unique Alleles of Best Known Solution", new DoubleValue(uniqueRelevantAllelesCount))); 197 else 198 ((DoubleValue)results["Unique Alleles of Best Known Solution"].Value).Value = uniqueRelevantAllelesCount; 199 200 if (!results.ContainsKey("Fixed Alleles")) 201 results.Add(new Result("Fixed Alleles", new DoubleValue(fixedAllelesCount))); 202 else 203 ((DoubleValue)results["Fixed Alleles"].Value).Value = fixedAllelesCount; 204 205 if (!results.ContainsKey("Fixed Alleles of Best Known Solution")) 206 results.Add(new Result("Fixed Alleles of Best Known Solution", new DoubleValue(fixedRelevantAllelesCount))); 207 else 208 ((DoubleValue)results["Fixed Alleles of Best Known Solution"].Value).Value = fixedRelevantAllelesCount; 209 210 if (!results.ContainsKey("Lost Alleles of Best Known Solution")) 211 results.Add(new Result("Lost Alleles of Best Known Solution", new DoubleValue(lostRelevantAllelesCount))); 212 else 213 ((DoubleValue)results["Lost Alleles of Best Known Solution"].Value).Value = lostRelevantAllelesCount; 188 214 } 189 215 return base.Apply();
Note: See TracChangeset
for help on using the changeset viewer.