Method | Description | |
---|---|---|
AddEdge ( int sourceNodeId, int destNodeId, int cost, int level = 1, bool inter = false ) : void | ||
BelongToSameCluster ( int node1Id, int node2Id, int level ) : bool | ||
FindClusterForPosition ( |
||
GetCluster ( int id ) : |
||
GetCurrentClusterRectangle ( ) : |
||
GetHeuristic ( int startNodeId, int targetNodeId ) : int | ||
GetNeighbours ( int nodeId ) : IEnumerable |
Gets the neighbours(successors) of the nodeId for the level set in the currentLevel
|
|
GetNodeEdges ( int nodeId ) : AbsTilingEdgeInfo>.Edge>.List |
||
GetOffset ( int level ) : int | ||
HierarchicalMap ( |
||
PositionInCurrentCluster ( |
||
SetCurrentCluster ( |
Defines the bounding box of the cluster we want to process based on a given level and a position in the grid
|
|
SetCurrentCluster ( int x, int y, int offset ) : void |
Defines the bounding box of the cluster we want to process
|
|
SetCurrentLevel ( int level ) : void | ||
SetType ( TileType tileType ) : void |
public AddEdge ( int sourceNodeId, int destNodeId, int cost, int level = 1, bool inter = false ) : void | ||
sourceNodeId | int | |
destNodeId | int | |
cost | int | |
level | int | |
inter | bool | |
return | void |
public BelongToSameCluster ( int node1Id, int node2Id, int level ) : bool | ||
node1Id | int | |
node2Id | int | |
level | int | |
return | bool |
public FindClusterForPosition ( |
||
pos | ||
return |
public GetCurrentClusterRectangle ( ) : |
||
return |
public GetHeuristic ( int startNodeId, int targetNodeId ) : int | ||
startNodeId | int | |
targetNodeId | int | |
return | int |
public GetNeighbours ( int nodeId ) : IEnumerable |
||
nodeId | int | |
return | IEnumerable |
public GetNodeEdges ( int nodeId ) : AbsTilingEdgeInfo>.Edge>.List |
||
nodeId | int | |
return | AbsTilingEdgeInfo>.Edge>.List |
public HierarchicalMap ( |
||
concreteMap | ||
clusterSize | int | |
maxLevel | int | |
return | System |
public PositionInCurrentCluster ( |
||
position | ||
return | bool |
public SetCurrentCluster ( |
||
pos | ||
level | int | |
return | void |
public SetCurrentCluster ( int x, int y, int offset ) : void | ||
x | int | |
y | int | |
offset | int | |
return | void |