plannerjs - v0.4.1
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Pathfinder
Provider
constructor
embed
Location
get
Graph
For
Profile
get
Shortest
Path
Algorithm
get
Shortest
Path
Tree
Algorithm
register
Edges
Hierarchy
PathfinderProvider
Index
Constructors
constructor
Methods
embed
Location
get
Graph
For
Profile
get
Shortest
Path
Algorithm
get
Shortest
Path
Tree
Algorithm
register
Edges
Constructors
constructor
new
Pathfinder
Provider
(
shortestPathTree
:
IShortestPathTreeAlgorithm
, pointToPoint
:
IShortestPathAlgorithm
, profileProvider
:
ProfileProvider
, locationResolver
:
ILocationResolver
)
:
PathfinderProvider
Parameters
shortestPathTree:
IShortestPathTreeAlgorithm
pointToPoint:
IShortestPathAlgorithm
profileProvider:
ProfileProvider
locationResolver:
ILocationResolver
Returns
PathfinderProvider
Methods
embed
Location
embed
Location
(
p
:
ILocation
, tileset
:
RoutableTile
, invert
?:
boolean
)
:
Promise
<
void
>
Parameters
p:
ILocation
tileset:
RoutableTile
Default value
invert:
boolean
= false
Returns
Promise
<
void
>
get
Graph
For
Profile
get
Graph
For
Profile
(
profile
:
Profile
)
:
PathfindingGraph
Parameters
profile:
Profile
Returns
PathfindingGraph
get
Shortest
Path
Algorithm
get
Shortest
Path
Algorithm
(
profile
:
Profile
)
:
IShortestPathInstance
Parameters
profile:
Profile
Returns
IShortestPathInstance
get
Shortest
Path
Tree
Algorithm
get
Shortest
Path
Tree
Algorithm
(
profile
:
Profile
)
:
IShortestPathTreeInstance
Parameters
profile:
Profile
Returns
IShortestPathTreeInstance
register
Edges
register
Edges
(
ways
:
Set
<
string
>
)
:
Promise
<
void
>
Parameters
ways:
Set
<
string
>
Returns
Promise
<
void
>
Generated using
TypeDoc