plannerjs - v0.4.1
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Mixed
Dijkstra
Instance
constructor
query
Path
remove
Break
Point
set
Break
Point
set
Use
Weighted
Cost
Hierarchy
MixedDijkstraInstance
Implements
IShortestPathInstance
Index
Constructors
constructor
Methods
query
Path
remove
Break
Point
set
Break
Point
set
Use
Weighted
Cost
Constructors
constructor
new
Mixed
Dijkstra
Instance
(
graph
:
PathfindingGraph
, locationResolver
:
ILocationResolver
)
:
MixedDijkstraInstance
Parameters
graph:
PathfindingGraph
locationResolver:
ILocationResolver
Returns
MixedDijkstraInstance
Methods
query
Path
query
Path
(
from
:
string
, to
:
string
, maxDistance
?:
number
)
:
Promise
<
any
[]
>
Parameters
from:
string
to:
string
Default value
maxDistance:
number
= Infinity
Returns
Promise
<
any
[]
>
remove
Break
Point
remove
Break
Point
(
on
:
string
)
:
void
Parameters
on:
string
Returns
void
set
Break
Point
set
Break
Point
(
on
:
string
, callback
:
function
)
:
void
Parameters
on:
string
callback:
function
(
on
:
string
)
:
Promise
<
void
>
Parameters
on:
string
Returns
Promise
<
void
>
Returns
void
set
Use
Weighted
Cost
set
Use
Weighted
Cost
(
useWeightedCost
:
boolean
)
:
void
Parameters
useWeightedCost:
boolean
Returns
void
Generated using
TypeDoc