Interface IOptionFinder<TOption, TGraph, TNode, TResult>
Interface inheriting from IFinder<TGraph, TResult> to make the default Option finders interchangeable. Provides functionality for adding options, a validator and a reserver, allowing to build and schedule a full request. Option finders are:
-
OptionFinder/Evaluator
Searches for the first option that passes validation and has a path.
-
CheapestOptionFinder/Evaluator
Finds the cheapest path among a set of options
-
PriorityOptionFinder/Evaluator
Evaluates different the options based on a priority and returns the prioritized option that passes validation and has a path.
Inherited Members
Namespace: AnyPath.Managed
Assembly: Assembly-CSharp.dll
Syntax
public interface IOptionFinder<TOption, TGraph, TNode, out TResult> : IFinder<TGraph, TResult>, IFinder<TGraph>, IFinder, IGetFinderOptions<TOption, TNode>, ISetFinderOptionReserver<TOption>, ISetFinderOptionValidator<TOption>
Type Parameters
Name | Description |
---|---|
TOption | The user defined type of option |
TGraph | The graph type |
TNode | Type of nodes |
TResult | The type of result. |