GridDescriptiveStatisticsAverageWeightedFigureOfMerit Method (IEnumerableCoverageGridPointWithResults, FigureOfMeritInt32) |
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.2.419.0 (24.2.419.0)
Syntax public static double AverageWeightedFigureOfMerit(
IEnumerable<CoverageGridPointWithResults> gridPoints,
FigureOfMerit<int> function
)
Public Shared Function AverageWeightedFigureOfMerit (
gridPoints As IEnumerable(Of CoverageGridPointWithResults),
function As FigureOfMerit(Of Integer)
) As Double
public:
static double AverageWeightedFigureOfMerit(
IEnumerable<CoverageGridPointWithResults^>^ gridPoints,
FigureOfMerit<int>^ function
)
static member AverageWeightedFigureOfMerit :
gridPoints : IEnumerable<CoverageGridPointWithResults> *
function : FigureOfMerit<int> -> float
Parameters
- gridPoints
- Type: System.Collections.GenericIEnumerableCoverageGridPointWithResults
The coverage grid points. These points must contain results. - function
- Type: AGI.Foundation.Coverage.FigureOfMeritFigureOfMeritInt32
The figure of merit to average.
Return Value
Type:
DoubleThe average of the given figure of merit.
Exceptions Remarks This method only works with static grids.
See Also