hi all,
iam having a very "strange" problem:
iam parsing values from java to jess by using:
fInfo.setSlotValue("certainty", new
Value(Float.parseFloat((String)info.elementAt(2)), RU.FLOAT));
the info-vektor is a string vector, sometimes elements of the string are
floats, therefore i chose the
HI Everyone:
After Jess starts to run, is there anyway to assert new facts in Java, and
fire the rules in Jess environment ?
For example:
===
Rete r;
//... Loads and parses CLIPS files
r.run();
r.executeCommand("(assert (yes))");
==
Hello, I have a class that looks like the following
package EventModule;
import java.util.Hashtable;
public class EventInfo { private String eventName; private Object[] userData;
/** Creates new EventInfo */ public EventInfo(String eventName, Object[] userData) { this.eventName
Hello,
I am trying to use the batch command to read a file, but I get the following error.
Jess> (batch D:\WrittenPrograms\Application\KBRules\rules.clp)
Jess reported an error in routine batch while executing (batch D:WrittenProgramsApplicationKBRulesrules.clp). Message: Cannot o
I think Richard Patten wrote:
>
> (bind ?ei (new EventModule.EventInfo "DataBaseOverload" (create$ (?ht ?ht2
You've put an extra set of parentheses around the arguments to create$
-- Jess functions don't enclose their argument lists in parentheses.
(bind ?ei (new EventModule.EventInfo "D
I think Richard Patten wrote:
>
>Hello,
>
>I am trying to use the batch command to read a file, but I get the following
>error.
>
> Jess> (batch D:\WrittenPrograms\Application\KBRules\rules.clp)
>
>
> Jess reported an error in routine batch
> while executing (batch D:Writt
I think Tsai Rodger wrote:
> HI Everyone:
>
> After Jess starts to run, is there anyway to assert new facts in Java, and
> fire the rules in Jess environment ?
>
> For example:
> ===
> Rete r;
> //... Loads and parses CLIPS files
> r.run();
> r.executeCommand(
Hello jess-users,
I am seeking for educational examples for the Jess, CLIPS or other
expert systems in a busines-consulting area. Can someone point me
out links to such materials? Thanks in advance.
--
Sincerely,
Ru mailto:sorokinru@;mail.iias.spb.su
--
Could you describe more precisely what you need? Many people have developed
educational materials to teach JESS, others have done consulting for
developing systems with JESS, yet others have created educational software
with JESS?
Thanks!
David
Original Message Follows
From: [EMAIL P
Well, first of all, do realize that floating point number
representations are finite and therefore inexact. 0.4 decimal is an
infinite repeating fraction in binary. Although IEEE floating-point
includes guard bits and specific machinery to deal with this, it's
fairly easy to cause Java (or any othe
Title: Message saying it is not a multislot, when actually, it is...
Hello list,
I am trying to implement a rule which checks if a property is nil before testing its value:
(defrule KEY_SCRIPT0
(OrmedRequest
(key "script")
(ormedContext ?c)
(OBJECT ?r)
)
(Or
thanx- i already changed it.
just a short second question:
within jess i use those double to calculate values:
for instance
(customerIndic (name flex) (value Well, first of all, do realize that floating point number
> representations are finite and therefore inexact. 0.4 decimal is an
> infinite
I think Alexander Lamb wrote:
>
> However, when loading the rule, I get the following message:
>
> ERROR: Jess reported an error in routine Jesp.parsePattern
> while executing (batch
> /Users/alamb/Development/OrMed2Proto/Protocols.jess).
> Message: selectedCompleterResponse is not a multi
I think Ina Sollinger wrote:
>
> (0.9 + 0.9 + 0.6) / 3 )*1.
>
> jess calculates 0.799942sth. instead of 0.8,
Again, 0.8 can't be precisely represented as a floating point number.
> however it would be nicer if i could manage to tell jess
> "round the result to the 1st digit after the coma"
Ernest,
It is often helpful to have the parser spit out the column number of the
line with a parse error.
A while back I modified jess to track and display (on a parse error) the
current column number during parsing but lost the mods. I can reimplement
the changes using the current code base - ju
Hello everybody, If I have a particular fact in the knowledge base is it ok if I insert the same fact into the Knowledge Base sometime later without checking if that fact already exists, I know this wont make a difference but is it to do so. Is there any facility in JESS to know if a particular
I found that the following doesn't work:
(defclass Thing com.xxx.Thing) ; the class Thing has a property called
"name" of type String
(definstance Thing (new com.xxx.Thing))
(defrule print-thing
(Thing (name Zaphod))
=>
(printout t "Thing named Zaphod found")
)
(bind ?theThing (new com.xxx.
I think Alan Moore wrote:
>
> Please help me understand when the automatic conversion is done and when it
> is not.
>
LHS matching is done "as if by" the (eq) and (neq) functions. These do
no conversions at all, and so values match in content and type.
Conversion of function arguments is at the
18 matches
Mail list logo