C# 클래스 DynamicPathThreadJob, cs-mini-modbot-simulation

상속: ThreadJob
파일 보기 프로젝트 열기: intel-cornellcup/mini-modbot-simulation 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
destinationNode Node,
endNode Node,
startNode Node,

공개 메소드들

메소드 설명
DynamicPathThreadJob ( Node, startNode, Node, endNode, HashSet closedNodes, double pathLength, bool useItemReduction ) : System.Collections.Generic

Constructor that initializes the start node and end node of the path planning

getClosedNodes ( ) : HashSet

Returns already visited nodes in the A* traversal

getPathWayPoints ( ) : List

Returns the list of path way points that were determined from ThreadFunction

보호된 메소드들

메소드 설명
ThreadFunction ( ) : void

Performs an A* traversal from the start node to the end node; however, the end node only provides a direction for the path finding, as once the current node in the traversal is pathLength away from the start node, the traversal is complete

메소드 상세

DynamicPathThreadJob() 공개 메소드

Constructor that initializes the start node and end node of the path planning
public DynamicPathThreadJob ( Node, startNode, Node, endNode, HashSet closedNodes, double pathLength, bool useItemReduction ) : System.Collections.Generic
startNode Node, Node object where the path planning starts from
endNode Node, Node object representing where the path should move towards
closedNodes HashSet
pathLength double
useItemReduction bool
리턴 System.Collections.Generic

ThreadFunction() 보호된 메소드

Performs an A* traversal from the start node to the end node; however, the end node only provides a direction for the path finding, as once the current node in the traversal is pathLength away from the start node, the traversal is complete
protected ThreadFunction ( ) : void
리턴 void

getClosedNodes() 공개 메소드

Returns already visited nodes in the A* traversal
public getClosedNodes ( ) : HashSet
리턴 HashSet

getPathWayPoints() 공개 메소드

Returns the list of path way points that were determined from ThreadFunction
public getPathWayPoints ( ) : List
리턴 List

프로퍼티 상세

destinationNode 공개적으로 프로퍼티

public Node, destinationNode
리턴 Node,

endNode 공개적으로 프로퍼티

public Node, endNode
리턴 Node,

startNode 공개적으로 프로퍼티

public Node, startNode
리턴 Node,