C# 클래스 Pathfinding.BinaryHeap

파일 보기 프로젝트 열기: henryj41043/TheUnseen 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
binaryHeap Pathfinding.GraphNode[]
numberOfItems int

공개 메소드들

메소드 설명
Add ( GraphNode node ) : void
BinaryHeap ( int numberOfElements ) : UnityEngine
BubbleDown ( GraphNode node ) : void
Rearrange ( Node node ) : void
Rebuild ( ) : void
Remove ( ) : GraphNode
ToString ( ) : string

비공개 메소드들

메소드 설명
WriteBranch ( int index, int depth, System text ) : void

메소드 상세

Add() 공개 메소드

public Add ( GraphNode node ) : void
node GraphNode
리턴 void

BinaryHeap() 공개 메소드

public BinaryHeap ( int numberOfElements ) : UnityEngine
numberOfElements int
리턴 UnityEngine

BubbleDown() 공개 메소드

public BubbleDown ( GraphNode node ) : void
node GraphNode
리턴 void

Rearrange() 공개 메소드

public Rearrange ( Node node ) : void
node Node
리턴 void

Rebuild() 공개 메소드

public Rebuild ( ) : void
리턴 void

Remove() 공개 메소드

public Remove ( ) : GraphNode
리턴 GraphNode

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

프로퍼티 상세

binaryHeap 공개적으로 프로퍼티

public GraphNode[],Pathfinding binaryHeap
리턴 Pathfinding.GraphNode[]

numberOfItems 공개적으로 프로퍼티

public int numberOfItems
리턴 int