Greetings,

I want to be able to execute rules on java objects ... e.g:

 

class coordinate {

public int x, y

}

coordinate a = new coordinate;

a.x=a.y=-1;

rules like

(defrule negative-x-quadrent-point

(coordinate.x < 0 )

=>

(assert(exists-negative-quadrent)))

 

How do I go abouts doing that ..

should I set up a mapping scheme that maps java objects to multislots ?

Thanks,

Arman.

 

 

 



Do You Yahoo!?
Yahoo! Messenger - Talk while you surf! It's FREE.

Reply via email to