<div dir="ltr">Hello,<br><br>I have 1 Object of Type &quot;A&quot;<br>with a position (x,y) and n Objects of type &quot;B&quot; with postions (x,y) respectively.<br><br>I want to write a rule which gets 1 Object type &quot;A&quot; and more than 10 Objects of Type &quot;B&quot; as input facts. The rule should determine 10 of the Objects of type &quot;B&quot; which are nearest to the Object of type &quot;B&quot;.<br>
<br>I would appreciate any help!<br><br>Regards<br>Thomas<br></div>