JESS: Using JESS for representing game states

2011-10-10 Thread Sam Sarjant
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

RE: JESS: Using JESS for representing game states

2011-10-10 Thread Friedman-Hill, Ernest
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

JESS: slot comparison

2011-10-10 Thread nikos erinis
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

RE: JESS: Using JESS for representing game states

2011-10-10 Thread John Everett
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)