Hi jess-users
Don't know whether it's a bug but after
(deffunction fun () (assert (b 2)))
(defrule rule (logical (a))=>(assert (b 1)))
(defrule rule2 (logical (a))=>(fun))
(assert (a))
(run)
(retract 0) deletes only (a) and (b 1). (b 2) doesn't seem to have a logical
dependency on (a).
Yuri
--
Yes, that's all true. But I think that only really simple domains can be
described using plain rulesets. Unfortunately, I don't know any non-salience
way to represent metaknowledge in CLIPS-like systems.
Yuri
To unsubscribe, sen
> (set-salience-evaluation every-cycle)
I think that would be really slow. However the problem is quite common, so
probably we may use some Java API to reevaluate the salience just once. The
question is which one.
Yuri
To unsub
Hi jess-users
JessDE doesn't parse this rule (saying: 'TRUE' is a symbol, not an integer):
(defrule rule (declare (salience (+ 1 1))) => )
whereas Jesp makes no complaints.
Yuri
To unsubscribe, send the words 'unsubscribe jes
I'm sorry - it's there in the manual. I should be more attentive.
Yuri
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 addres
Well say I have this rule
(defrule rule (declare ) =>)
When I type "(" inside "(declare)" I receive auto-loop,
no-focus,node-index-hash and salience. After manually inserting
"slot-specific" I receive error. I'm using Jess70b4, my Eclipse is 3.1.1.
At any rate I'd like to ask a more serious ques
JessDE doesn't accept "slot-specific" declarations.
Yuri
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 probl
Hi jess-users
Is this ok that jess.Multimap doesn't implement Serializable? It throws
java.io.NotSerializableException on issuing 'bsave'.
Yuri
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BO
Hi jess-users
I'm receiving the "Editor couldn't be initialized" when trying to open
clp-files in Jess70b4-editor (yes, I tried the -clean switch). Jess70b3
works well. Can anybody help?
Yuri
To unsubscribe, send the words 'uns
Thanks a lot - intValue works fine.
Yuri
Hi jess-users
Is there any way to convert Java object to one of
the predefined Jess types (e.g. I need to convert Object which is actually
Integer to RU.INTEGER).
Yuri
Hi jess-users
Is there any way 2 convert Object to Object[]? I
need 2 pass several arrays from Java to Jess so I wrapped them in a Vector.
But executing
(call ?vector get
0)
returns just
I can write some wrapper like
Object[]
obj2array(Object)
but probably Jess can handle such
> Although the last "argument" of the accumulate CE is documented as a
> conditional element, it's actually coded as if it must be a pattern --
> i.e., a single patterm, no "and", "or", or "not." I'm having trouble
> imagining a tractable implementation that allows you to use a general
> conditiona
Hi
I've got the following problem with accumulate-CE.
The following code works fine:
(clear)
(deftemplate smth (slot
anyth))
(deffacts facts (smth (anyth
"x")) (smth (anyth "y")))
(defrule rule ?data <-
(accumulate (bind ?result (create$))
(bind ?result (create$ ?resul
Hi
I think there is a bug in the 'for'-loop
implementation. The following code returns '1' (incorrect):
(bind ?x 1)(for (bind ?i 1) (< ?i 2) (++
?i)
(bind ?x (float ?x))
(printout t "?x == " ?x
crlf))?x
When I comment out the 'for'-block the _expression_
evaluates to '1.0' (correct
Hi All
Does anyone know how to implement matrixes in
Jess?
Yuri
Hi everyoneI've got some strange problem with Jess
engine. A simple code below illustrates it. The code iteratevily forms a sorted
list. It does this quite well when the number of entities is small enough
(<=10). But as it increases Jess engine failes to find matches (I've tried
7.0b2).(clear
17 matches
Mail list logo