Méthode | 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 | |
Résultat | void |
public BelongToSameCluster ( int node1Id, int node2Id, int level ) : bool | ||
node1Id | int | |
node2Id | int | |
level | int | |
Résultat | bool |
public FindClusterForPosition ( |
||
pos | ||
Résultat |
public GetCurrentClusterRectangle ( ) : |
||
Résultat |
public GetHeuristic ( int startNodeId, int targetNodeId ) : int | ||
startNodeId | int | |
targetNodeId | int | |
Résultat | int |
public GetNeighbours ( int nodeId ) : IEnumerable |
||
nodeId | int | |
Résultat | IEnumerable |
public GetNodeEdges ( int nodeId ) : AbsTilingEdgeInfo>.Edge>.List |
||
nodeId | int | |
Résultat | AbsTilingEdgeInfo>.Edge>.List |
public HierarchicalMap ( |
||
concreteMap | ||
clusterSize | int | |
maxLevel | int | |
Résultat | System |
public PositionInCurrentCluster ( |
||
position | ||
Résultat | bool |
public SetCurrentCluster ( |
||
pos | ||
level | int | |
Résultat | void |
public SetCurrentCluster ( int x, int y, int offset ) : void | ||
x | int | |
y | int | |
offset | int | |
Résultat | void |
public SetCurrentLevel ( int level ) : void | ||
level | int | |
Résultat | void |
public SetType ( TileType tileType ) : void | ||
tileType | TileType | |
Résultat | void |