• Articles
  • Api Documentation
Show / Hide Table of Contents
  • AnyPath
    • Graphs
      • Extra
        • Line2D
        • Line3D
        • Triangle
      • HexGrid
        • HexGrid
        • HexGrid.Enumerator
        • HexGridCell
        • HexGridHeuristicProvider
        • HexGridType
      • Line
        • ClosestLineLocationPredicate
        • LineGraph
        • LineGraph.Edge
        • LineGraph.Enumerator
        • LineGraphBuilder
        • LineGraphBuilder.ProtoEdge
        • LineGraphDrawer
        • LineGraphHeuristic
        • LineGraphLocation
        • LineGraphPopulator
        • LineGraphProcessor
        • LineGraphWelder
        • SceneGraph
          • LineGraphNode
          • LineSceneGraph
          • LineSceneGraphEdge
          • SceneGraphNodeEditor
      • NavMesh
        • ClosestNavMeshLocationPredicate
        • CornerAndNormal
        • IUnrolledNavMeshGraphPortal
        • NavMeshGraph
        • NavMeshGraph.EnterCostAndFlags
        • NavMeshGraph.Enumerator
        • NavMeshGraphCorners
        • NavMeshGraphCorners3D
        • NavMeshGraphHeuristic
        • NavMeshGraphLocation
        • NavMeshGraphUnroller
        • NavMeshLineBitmaskMod
        • NavMeshLineMod
        • NavMeshPlaneBitmaskMod
        • NavMeshPlaneMod
        • NavMeshPopulator
        • NavMeshWelder
        • SSFA
        • UnrolledNavMeshGraphPortal
      • Node
        • NodeGraph
        • NodeGraphNode
      • PlatformerGraph
        • ClosestPlatformerGraphLocationPredicate
        • PlatformerGraph
        • PlatformerGraph.Enumerator
        • PlatformerGraphBuilder
        • PlatformerGraphBuilder.ProtoEdge
        • PlatformerGraphDrawer
        • PlatformerGraphHeuristic
        • PlatformerGraphLocation
        • PlatformerGraphPopulator
        • PlatformerGraphProcessor
        • PlatformerGraphWelder
        • SceneGraph
          • PlatformerSceneGraph
          • PlatformerSceneGraphEdge
          • PlatformerSceneGraphNode
          • SceneGraphNodeEditor
      • SquareGrid
        • SquareGrid
        • SquareGrid.Enumerator
        • SquareGridCell
        • SquareGridHeuristicProvider
        • SquareGridHeuristicProviderEightDirectional
        • SquareGridHeuristicProviderManhattanDistance
        • SquareGridType
      • VoxelGrid
        • VoxelGrid
        • VoxelGrid.DirCost
        • VoxelGrid.Enumerator
        • VoxelGridCell
        • VoxelGridDirectionFlags
        • VoxelGridDirectionMod
        • VoxelGridHeuristicProvider
        • VoxelGridHeuristicProviderManhattanDistance
    • Managed
      • ClearFinderFlags
      • FinderExtensions
      • IFinder
      • IOptionReserver<TOption>
      • IOptionValidator<TOption>
      • ImmutableFinderException
      • ManagedDisposeExtensions
      • Results
        • DijkstraResult<TNode>
        • Eval
        • Eval<TOption>
        • MultiEvalResult
        • MultiPathResult<TSeg>
        • Path<TSeg>
        • Path<TOption, TSeg>
    • Native
      • AStarCheapestOption
      • AStarEvalOptionResult
      • AStarEvalResult
      • AStarFindOptionResult
      • AStarFindPathResult
      • AStarOption
      • AStarStops
      • AStar<TNode>
      • ComposedGraph<TGraph, TNode>
      • Edge<TNode>
      • FlagBitmask<TNode>
      • IEdgeMod<TNode>
      • IGraph<TNode>
      • IHeuristicProvider<TNode>
      • INodeFlags
      • IPathProcessor<TNode, TSeg>
      • NativeListWrapper<TSeg>
      • NoEdgeMod<TNode>
      • NoProcessing<TNode>
      • OffsetInfo
      • ReversedGraph<TNode>
      • EdgeMods
        • AdditionalAndExcludeEdges<TNode>
        • AdditionalEdges<TNode>
        • ExcludeEdges<TNode>
        • ExcludeLocations<TNode>
      • Heuristics
        • ALTCompute<TGraph, TNode>
        • ALTSerialization
        • ALT<TNode>
        • LandmarkSelection<TGraph, TNode, TEnumerator>
      • Util
        • IRefComparer<T>
        • NativeMinHeap<T, TComp>
        • NativeRefMinHeap<T, TComp>

Enum ClearFinderFlags

Flags used to determine what data to keep when clearing a finder.

Namespace: AnyPath.Managed
Assembly: AnyPath.dll
Syntax
[Flags]
public enum ClearFinderFlags

Fields

Name Description
ClearAll

Clears all data stored in the finder. This is the default value.

KeepAll

Preserves all data except for the last stored result.

KeepComparer

Keep the comparer

KeepCompletedEventHandlers

Preserve the Completed event handlers

KeepEdgeMod

Preserve the edge modifier

KeepGraph

Preserve the graph struct on the finder.

KeepGraphAndHeuristicProvider

Preserves the graph and the heuristic provider

KeepHeuristicProvider

Preserve the heuristic provider

KeepNodes

Keep all start and goal nodes. On target finders, this includes the target objects.

KeepReserver

Keep the reserver

KeepValidator

Keep the validator used to validate the target objects on target finders.

KeepValidatorReserverAndComparer

Useful for First/Cheapest/Priority finders

Extension Methods

FinderExtensions.AddOption<ClearFinderFlags, TNode, TOption>(ClearFinderFlags, TOption, TNode, TNode)
FinderExtensions.AddOptions<ClearFinderFlags, TNode, TOption>(ClearFinderFlags, IEnumerable<TOption>, TNode, Func<TOption, TNode>)
FinderExtensions.AddRange<ClearFinderFlags, TNode, TOption>(ClearFinderFlags, IEnumerable<TOption>, TNode, Func<TOption, TNode>)
FinderExtensions.AddRequest<ClearFinderFlags, TNode>(ClearFinderFlags, TNode, TNode)
FinderExtensions.AddRequests<ClearFinderFlags, TNode>(ClearFinderFlags, IEnumerable<TNode>)
FinderExtensions.AddStop<ClearFinderFlags, TNode>(ClearFinderFlags, TNode)
FinderExtensions.AddStops<ClearFinderFlags, TNode>(ClearFinderFlags, IEnumerable<TNode>)
FinderExtensions.SetComparer<ClearFinderFlags, TOption>(ClearFinderFlags, IComparer<TOption>)
FinderExtensions.SetEdgeMod<ClearFinderFlags, TMod>(ClearFinderFlags, TMod)
FinderExtensions.SetGraph<ClearFinderFlags, TGraph>(ClearFinderFlags, TGraph)
FinderExtensions.SetHeuristicProvider<ClearFinderFlags, TH>(ClearFinderFlags, TH)
FinderExtensions.SetPathProcessor<ClearFinderFlags, TProc>(ClearFinderFlags, TProc)
FinderExtensions.SetReserver<ClearFinderFlags, TOption>(ClearFinderFlags, IOptionReserver<TOption>)
FinderExtensions.SetStartAndGoal<ClearFinderFlags, TNode>(ClearFinderFlags, TNode, TNode)
FinderExtensions.SetValidator<ClearFinderFlags, TOption>(ClearFinderFlags, IOptionValidator<TOption>)
In This Article
Back to top Generated by DocFX