You are here: Start » AVL.NET » AVL.SortPaths(AvlNet.Path[], AvlNet.PathFilter, AvlNet.PathFeature, AvlNet.SortingOrder, AvlNet.Path[])
AVL.SortPaths(AvlNet.Path[], AvlNet.PathFilter, AvlNet.PathFeature, AvlNet.SortingOrder, AvlNet.Path[])
Changes the order of paths from the input array accordingly to an ascending/descending sequence of their computed feature values.
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
public static void SortPaths( AvlNet.Path[] inPaths, AvlNet.PathFilter inPathFilter, AvlNet.PathFeature inFeature, AvlNet.SortingOrder inSortingOrder, out AvlNet.Path[] outSortedPaths )
Parameters
- inPaths
- Type: AvlNet.Path
Input paths - inPathFilter
- Type: AvlNet.PathFilter
Determines which paths will take part in computation - inFeature
- Type: AvlNet.PathFeature
Path feature value to be computed - inSortingOrder
- Type: AvlNet.SortingOrder
Sorting order - outSortedPaths
- Type: AvlNet.Path
Paths sorted according to the computed feature values
