Hi,
I have recently started integrating Jess as a reasoning engine for my
research in multiagent systems.
I am getting this error:
--------------------------------------------------
Jess reported an error in routine Funcall.execute while executing (facts).
Message: Unimplemented function facts.
Program text: ( facts ) at line 0.in JESS engine
---------------------------------------------------
The code snipped is:
---------------------------------------------------
Rete r = new Rete();
Deftemplate percepts = new Deftemplate ("percepts",
"percepts of
thisAgent");
Value zero = new Value(0, RU.INTEGER);
percepts.addSlot("x", zero, "NUMBER");
percepts.addSlot("y", zero, "NUMBER");
r.addDeftemplate(percepts);
Fact f = new Fact("percepts", r);
f.setSlotValue("x", new Value(37, RU.INTEGER));
f.setSlotValue("y", new Value(49, RU.INTEGER));
r.assert(f);
r.executeCommand("(facts)");
Thanks in advance :)
daft newbie
--------------------
Vijay Vishwanathan
Iowa State University
1401 Coover Hall
Ames. IA 50011. USA.
Phone: 515-294-4597
--------------------
Visit: http://www.public.iastate.edu/~vijayav/
---------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the
list (use your own address!) List problems? Notify [EMAIL PROTECTED]
---------------------------------------------------------------------