Hi Thomas,
to be honest, i only had a very short look on your code and i didnt try sth.
with jess.value objects as java properties.
however, i might saw sth. in your rule
> (defclass Attr Attr)
> (defrule match-attrs
> (Attr (objName ?n) (value ?v&~1))
> =>
> (printout t " There is an attr
I think swati kayasth wrote:
[Charset iso-8859-1 unsupported, filtering to ASCII...]
> Hi,
> I'm developing a application using Jess. I'm using applets. I
> want to create a Rete object in the init() method of the applet.
> In the documentation, it has been given that if I'm creating a
> Rete obj
There is no "COPY.EXE" on your Windows system, so you can't evoke it
this way. COPY is a built-in command of CMD.EXE or COMMAND.COM,
depending on what flavor of windows is running.
You'd need to do something like (system cmd /c "copy f1.txt f2.txt").
See the Java Programmer's FAQ, section 18, que
I think Ina Sollinger wrote:
>
> instead of (value ?v&~1))
> try (value ?v&:~1)
No, -don't- try that -- it's incorrect. The colon is only used as part
of a predicate function constraint and is always followed by an open
parenthesis. There's nothing wrong with the original code.
-
Hi,
Try using the archive tag in applet to refer to the jar file (the jess.jar
file), I think it would solve the problem.
Srinivask
> --
> From: swati kayasth[SMTP:[EMAIL PROTECTED]]
> Reply To: [EMAIL PROTECTED]
> Sent: Saturday, November 09, 2002 4:20 AM
> To: [EMAI
I think Ruff, Jeff wrote:
> ... cannot update the two Points in the object.
>
> (printout t "Check values of BBox " (str-cat ?dPair) crlf)
> (set-member ?dPair xy1 ?pt1)
> (set-member ?dPair xy2 ?pt2)
>
> <<<>>>
...
> Check values of BBox [(0,0),(0,0)]
Jess's time-
I am sorry for the lack of content. The real issue, was I was able to
create a Pair object [an xml object] but was unable to update attributes
of this object[in this case xy1 and xy2]. It was not passing the
required point objects to the Pair class. We added a set method to the
Pair class to acc
Does anyone know of a good visual presentation of a rule and rule relationship to use for design and re-engineering.
Regards,
Jim
I'm doing the following in Java:
Funcall f = new Funcall("definstance", reteEngine);
f.add(new Value(key, RU.ATOM));
f.add(new Value(obj)); //where obj is an Individual
f.add(new Value("static", RU.STRING));
f.execute(reteEngine.getGlobalContext());
and in Jess, I'
1) A LONG and an INTEGER do not match;
2) There's currently no way to write a long literal in Jess;
3) An INTEGER "1" and a LONG "1" print the same, so a slot that prints
as (value 1) may contain either a LONG or an INTEGER.
Your rule is matching below because the pattern "?v&~1" matches any
LON
I think Ruff, Jeff wrote:
[Charset iso-8859-1 unsupported, filtering to ASCII...]
> I am sorry for the lack of content. The real issue, was I was able to
> create a Pair object [an xml object] but was unable to update attributes
> of this object[in this case xy1 and xy2]. It was not passing the
>
Thanks for looking into it.
Jeff Ruff
ChipData
-Original Message-
From: [EMAIL PROTECTED] [mailto:ejfried@;ca.sandia.gov]
Sent: Tuesday, November 12, 2002 10:55 AM
To: [EMAIL PROTECTED]
Subject: Re: JESS: Problem with set-member assigning a Point toavariable
defined as a point.
I think R
Well this works but I still think it should have
converted it for me. Maybe somebody can correct me.
(printout t (not (?a booleanValue)) crlf)
On Tue, 12 Nov 2002, [EMAIL PROTECTED] wrote:
>
> I'm doing the following in Java:
>
> Funcall f = new Funcall("definstance", reteEngine);
> f.ad
You recently answered a question about changes in "format" with the new
release as shown in the text below.
"If you want to print the number as an integer in a four-digit field,"
"then convert it to an integer using the (integer) function first:"
"(format nil "%04d" (integer ( * (fetch TopPad) 1.
It looks to me as if Jess and gcc are consistent in this regard:
[ejfried@asllinux tmp]$ cat > foo.c
main() {
printf("%04d\n", 10);
printf("%4d\n", 10);
}
[ejfried@asllinux tmp]$ gcc foo.c
[ejfried@asllinux tmp]$ ./a.out
0010
10
[ejfried@asllinux src]$ java jess.Main
Jess, the Java Expe
15 matches
Mail list logo