Click or drag to resize

GridStatisticsAverageFigureOfMerit Method (IEnumerableCoverageGridPoint, FigureOfMeritInt32)

Computes the average of a given figure of merit over the grid (ignoring grid weighting).

Namespace:  AGI.Foundation.Coverage.FigureOfMerit
Assembly:  AGI.Foundation.Spatial (in AGI.Foundation.Spatial.dll) Version: 19.1.398.0 (19.1.398.0)
Syntax
public static double AverageFigureOfMerit(
	IEnumerable<CoverageGridPoint> gridPoints,
	FigureOfMerit<int> function
)

Parameters

gridPoints
Type: System.Collections.GenericIEnumerableCoverageGridPoint
The coverage grid which must contain the coverage intervals on each of the grid points along with the grid point weights representing the area of each grid point.
function
Type: AGI.Foundation.Coverage.FigureOfMeritFigureOfMeritInt32
The figure of merit to average.

Return Value

Type: Double
The average of the given figure of merit.
See Also