Click or drag to resize

GridDescriptiveStatisticsAverageWeightedFigureOfMerit Method (IEnumerableCoverageGridPointWithResults, FigureOfMeritDouble)

Computes the average of a given figure of merit over the grid, based on the grid point Weights.

Namespace:  AGI.Foundation.Coverage.FigureOfMerit
Assembly:  AGI.Foundation.Spatial (in AGI.Foundation.Spatial.dll) Version: 24.1.418.0 (24.1.418.0)
Syntax
public static double AverageWeightedFigureOfMerit(
	IEnumerable<CoverageGridPointWithResults> gridPoints,
	FigureOfMerit<double> function
)

Parameters

gridPoints
Type: System.Collections.GenericIEnumerableCoverageGridPointWithResults
The coverage grid points. These points must contain results.
function
Type: AGI.Foundation.Coverage.FigureOfMeritFigureOfMeritDouble
The figure of merit to average.

Return Value

Type: Double
The average of the given figure of merit.
Exceptions
ExceptionCondition
InvalidOperationExceptionThrown if any of the weight scalars for the input grid points varies in time.
Remarks
This method only works with static grids.
See Also