IMPACT Agents: Data Access
Code Call: d:f(arg1,…,argk). Execute function f defined in data structure d on the specified arguments. Return a set of objects.
- Oracle:select(‘depots.rel’,item,=,combat boots)
- Route:plan(‘map1’,20,20,50,43).
Code Call Atom: in(X,d:f(arg1,…,argk)). Succeeds if X is in the set of objects returned.
- In(X, Oracle:select(‘depots.rel’,item,=,combat boots)). Find all tuples with item field equal to “combat boots”
- in(X, Route:plan(‘map1’,20,20,50,43)). Find all routes returned by route planner between points (20,20) and (50,43) w.r.t. map1.
Web Accessibility