@Deprecated @operator( value = "path_between", content_type = ITypeProvider.FIRST_CONTENT_TYPE, category = {IOperatorCategory.GRAPH, IOperatorCategory.PATH}) @doc( value = "The shortest path between a list of two objects in a graph", examples = { @example( value = "my_graph path_between (ag1:: ag2)", equals = "A path between ag1 and ag2", isExecutable = false) }, deprecated = "use 'path_between(graph, geometry, geometry)' instead") public static IPath path_between( final IScope scope, final GamaGraph graph, final GamaPair sourTarg) throws GamaRuntimeException { // java.lang.System.out.println("Cast.asTopology(scope, graph) : " + Cast.asTopology(scope, // graph)); return Graphs.path_between(scope, graph, (IShape) sourTarg.key, (IShape) sourTarg.value); // return graph.computeShortestPathBetween(sourTarg.key, sourTarg.value); }