src/GenFx/Metric.cs
/// <summary>
/// Returns the metric results of the indicated population for this metric.
/// </summary>
/// <param name="populationIndex">Index of the population for which to return metric results.</param>
/// <returns>Collection of <see cref="MetricResult"/> objects.</returns>
/// <remarks>
/// Each <see cref="MetricResult"/> object in the collection is associated
/// with one generation of the population.
/// </remarks>
Returns the metric results of the indicated population for this metric.
Returns the metric results of the indicated population for this metric .
public ObservableCollection<MetricResult> GetResults(int populationIndex)
        {
            if (!this.populationResults.TryGetValue(populationIndex, out ObservableCollection<MetricResult> results))
            {
                results = new ObservableCollection<MetricResult>();
                this.populationResults.Add(populationIndex, results);
            }
            return results;
        }
public ObservableCollection < MetricResult > GetResults ( int populationIndex ) { if ( ! this . populationResults . TryGetValue ( populationIndex , out ObservableCollection < MetricResult > results ) ) { results = new ObservableCollection < MetricResult > ( ) ; this . populationResults . Add ( populationIndex , results ) ; } return results ; }
Returns the metric results of the indicated population for this metric.
Returns the metric results of the indicated population for this metric .
Collection of  objects.
Collection of objects .
populationIndex
int
Index of the population for which to return metric results.
Index of the population for which to return metric results .
remarks
Each  object in the collection is associated
with one generation of the population.
Each object in the collection is associated with one generation of the population .