First you'll need a function/static method that calculates distance. I
would then determine this for ever cross product combination - make sure
this distance fact references both objects.
Once you have determined all distances and inserted the facts
representing this you can "not" method a cus
Hello,
I have 1 Object of Type "A"
with a position (x,y) and n Objects of type "B" with postions (x,y)
respectively.
I want to write a rule which gets 1 Object type "A" and more than 10 Objects
of Type "B" as input facts. The rule should determine 10 of the Objects of
type "B" which are nearest t