@@ -46,11 +46,11 @@ tp2_ = [ :x0;:x0x3f1;:x3;:x2x3f1;:x2]
4646pth = findShortestPathDijkstra (fg, :x0 , :x2 )
4747@test pth == tp1_ || pth == tp2_
4848
49- pth = findShortestPathDijkstra (fg, :x0 , :x2 , typeFactors = [ LinearRelative;] )
49+ pth = findShortestPathDijkstra (fg, :x0 , :x2 , typeFilterFactors = x -> x <: LinearRelative )
5050@test pth == tp1_
5151
5252# different path
53- pth = findShortestPathDijkstra (fg, :x0 , :x2 , typeFactors = [ EuclidDistance;] )
53+ pth = findShortestPathDijkstra (fg, :x0 , :x2 , typeFilterFactors = x -> x <: EuclidDistance )
5454@test pth == tp2_
5555
5656
@@ -160,11 +160,11 @@ tp2_ = [ :x0;:x0x3f1;:x3;:x2x3f1;:x2]
160160pth = findShortestPathDijkstra (fg, :x0 , :x2 )
161161@test pth == tp1_ || pth == tp2_
162162
163- pth = findShortestPathDijkstra (fg, :x0 , :x2 , typeFactors = [ LinearRelative;] )
163+ pth = findShortestPathDijkstra (fg, :x0 , :x2 , typeFilterFactors = x -> x <: LinearRelative )
164164@test pth == tp1_ || pth == tp2_
165165
166166# different path
167- pth = findShortestPathDijkstra (fg, :x0 , :x2 , typeFactors = [ EuclidDistance;] )
167+ pth = findShortestPathDijkstra (fg, :x0 , :x2 , typeFilterFactors = x -> x <: EuclidDistance )
168168@test pth == Symbol[]
169169
170170
0 commit comments