Skip to main content
Keep candidates whose box sits in relation to at least one landmark. Find them however you want (scoredSearch, a VLM + [Machine.nodeAtPoint], find, …). Candidates with no box are omitted from the result. Input order is preserved. Binding for simulang_rs::search_relative. relation is (candidate, landmark) => boolean — compose the [BoundingBox] predicates however you want:

Parameters

AccessibilityNode[]
required
AccessibilityNode[]
required
required

Returns

AccessibilityNode[]