Last change
on this file since 15370 was
8744,
checked in by epitzer, 12 years ago
|
Improve Information Analyzer #1696
- Configurable discretized or full quantile analysis
- Configurable shape size
- Include peak information values and deltas in results
|
File size:
375 bytes
|
Line | |
---|
1 | using System;
|
---|
2 | using System.Collections.Generic;
|
---|
3 | using System.Linq;
|
---|
4 | using System.Text;
|
---|
5 |
|
---|
6 | namespace HeuristicLab.Analysis.FitnessLandscape {
|
---|
7 | public static class ListExtensions {
|
---|
8 | public static void DuplicateLast<T>(this IList<T> l) {
|
---|
9 | l.Add(l[l.Count-1]);
|
---|
10 | }
|
---|
11 | public static T Last<T>(this IList<T> l) {
|
---|
12 | return l[l.Count - 1];
|
---|
13 | }
|
---|
14 | }
|
---|
15 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.