createWithCategories

Creates a filter object to return the next n features from the starting point with categories.

Return

An UtilityNearestNeighbor.

Since

200.1.0

Parameters

costNetworkAttribute

The UtilityNetworkAttribute used to determine the definition of "nearest".

count

The number of nearest features to return. This must be a positive number.

categories

The collection of UtilityCategory that are used to define features to return.

Throws

if the nearest neighbour count is not valid. It must be a positive number