Hello,
I have been using JESS for some time as a rule-system for representing
states in a game (relational reinforcement learning), such that the state of
the game can be represented in terms of objects. An agent uses these states
and a decision making process (in this case defqueries to resolve
It is true that the Rete algorithm (on which Jess is based) is built on the
assumption that only a small fraction (usually quoted as 5-10%) of the
knowledge base will change on each evaluation cycle. Populating the network
from scratch is expensive and constantly resetting it does degrade
hi fellows,
i am new at jess. i am using it in combination with protege (jessTab).
my problem is that i want to compare the value of a slot with a specific
value.
--
(defrule SlotWithLessValueThan
?obj - (object (is-a Data)
(idNikos
In this situation, you might want to investigate the use of the logical
conditional element to link dependent objects in your game state. Taking
the example from the Jess manual on page 42, you assert that (water-flowing)
is dependent on (faucet-open). Then if you assert or retract (faucet-open)