You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note that compulsory parameters are unnamed parameters and optional parameters are named parameters see RFC 3
[not required] Equivalence tests, examples:
if the reached node is a real vertex of the graph, then executing pgr_dijkstra will give the total aggregate cost with the same value returned by the pgr_isochrones (if so applies)
if the reached node is a node within an edge of the graph, virtual vertex, (that gives the exact distance used on the call of pgr_isochrones, then executing pgr_dijkstraWithPoints from the start_vid to the virtual vertex will give the total aggregate cost with the same value distance used with the call to pgr_isochrones. (actually this same function can be used when the node is a real vertex on the graph).
boost::depth_first_search
andboost::undirected_dfs
pgr_depthFirstSearch
.pgr_dijkstra
will give the total aggregate cost with the same value returned by thepgr_isochrones
(if so applies)pgr_isochrones
, then executingpgr_dijkstraWithPoints
from the start_vid to the virtual vertex will give the total aggregate cost with the same value distance used with the call topgr_isochrones
. (actually this same function can be used when the node is a real vertex on the graph).About tests:
Remember a test is independent from the code, so to design a test first make the graph, write down the expected results. Example:
From this query:
empty results are expected, because the internally generated graph is G=(E={}, V={1}) so the pgtap test would be:
The text was updated successfully, but these errors were encountered: