<div dir="ltr"><div style="font-family:arial,sans-serif;font-size:13px">I'm looking at using DijkstraOneToMany to get path costs (just the sum of the edge weights, not the whole path) from a single origin to all nodes closer than some fixed cost limit.<br>
</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">I know about findEndNode(), but am not sure if I need to walk the graph of nodes myself, calling findEndNode() and weight() on each node, or if there is a way to walk exhaustively with only a limit as the termination point.</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">Ideally, I'd have something like findEndNodesAndCosts() that would return a map of node ID to path cost for all nodes less than the cost cutoff set with DijkstraOneToMany.limit(). What would be the suggested implementation of this?<br>
</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">Thanks,</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">
- Chris</div></div>