Files
secondo/Algebras/Network2/testscripte/Test5_AstarPlus_Small.SEC
2026-01-23 17:03:45 +08:00

19 lines
744 B
Plaintext

#################################################################
# Testszenario for testing the operator shortestpath_astarplus
#################################################################
open database networktest;
## Test 1 ######################
# Type Constructor gpoint value(<network_id> <route_id> <position> <side>)
query shortest_path([const gpoint value(1 2 0.0 0)],[const gpoint value(1 10 5.0 1)]);
## Test 2 ######################
#query shortestpath_astarplus([const gpoint value(1 2 0.0 0)],[const gpoint value(1 10 5.0 1)]);
## Test 3 ######################
query shortestpath_astarplus([const gpoint value(1 2 0.0 0)],[const gpoint value(1 2 0.0 0)],fun(c: real, d:real, l:real) (c -(2* d) + 20) );
close database;