C# Класс Pathfinding.PathHandler

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
DebugStringBuilder System.Text.StringBuilder
nodes PathNode[][]
threadID int
totalThreadCount int

Открытые методы

Метод Описание
ClearPathIDs ( ) : void
DestroyNode ( GraphNode node ) : void
GetHeap ( ) : BinaryHeapM
GetPathNode ( GraphNode node ) : PathNode
GetPathNode ( int nodeIndex ) : PathNode
HeapEmpty ( ) : bool
InitializeForPath ( Path p ) : void
InitializeNode ( GraphNode node ) : void
PathHandler ( int threadID, int totalThreadCount ) : System.Collections.Generic
PopNode ( ) : PathNode
PushNode ( PathNode node ) : void
RebuildHeap ( ) : void

Описание методов

ClearPathIDs() публичный Метод

public ClearPathIDs ( ) : void
Результат void

DestroyNode() публичный Метод

public DestroyNode ( GraphNode node ) : void
node GraphNode
Результат void

GetHeap() публичный Метод

public GetHeap ( ) : BinaryHeapM
Результат BinaryHeapM

GetPathNode() публичный Метод

public GetPathNode ( GraphNode node ) : PathNode
node GraphNode
Результат PathNode

GetPathNode() публичный Метод

public GetPathNode ( int nodeIndex ) : PathNode
nodeIndex int
Результат PathNode

HeapEmpty() публичный Метод

public HeapEmpty ( ) : bool
Результат bool

InitializeForPath() публичный Метод

public InitializeForPath ( Path p ) : void
p Path
Результат void

InitializeNode() публичный Метод

public InitializeNode ( GraphNode node ) : void
node GraphNode
Результат void

PathHandler() публичный Метод

public PathHandler ( int threadID, int totalThreadCount ) : System.Collections.Generic
threadID int
totalThreadCount int
Результат System.Collections.Generic

PopNode() публичный Метод

public PopNode ( ) : PathNode
Результат PathNode

PushNode() публичный Метод

public PushNode ( PathNode node ) : void
node PathNode
Результат void

RebuildHeap() публичный Метод

public RebuildHeap ( ) : void
Результат void

Описание свойств

DebugStringBuilder публичное свойство

public System.Text.StringBuilder DebugStringBuilder
Результат System.Text.StringBuilder

nodes публичное свойство

public PathNode[][] nodes
Результат PathNode[][]

threadID публичное свойство

public int threadID
Результат int

totalThreadCount публичное свойство

public int totalThreadCount
Результат int