Appendix A. Jess Functions Grouped by Usage
Miscellaneous functions
bag,
bind,
clear-storage,
fetch,
gensym*,
jess-version-number,
jess-version-string,
set-factory,
setgen,
store,
system,
time
Functions related to files and other I/O
close,
format,
get-multithreaded-io,
open,
printout,
read,
readline,
set-multithreaded-io,
socket
Functions for interacting with Java code
call,
context,
defclass,
definstance,
get,
get-member,
import,
instanceof,
load-function,
load-package,
new,
set,
set-member,
throw,
try,
undefinstance
Logical functions
and,
bit-and,
bit-not,
bit-or,
not,
or
Functions used primarily for debugging
list-function$,
matches,
show-jess-listeners,
unwatch,
view,
watch
Functions for working with defqueries
count-query-results,
run-query
Control structures
apply,
call-on-engine,
foreach,
if,
progn,
return,
while
Functions for pretty-printing constructs
ppdeffunction,
ppdefglobal,
ppdefquery,
ppdefrule,
ppdeffacts,
ppdeftemplate,
rules,
show-deffacts,
show-deftemplates,
list-deftemplates
Functions for interacting with the rule engine
agenda,
batch,
bload,
bsave,
build,
clear,
defadvice,
do-backward-chaining,
engine,
eval,
exit,
focus,
get-reset-globals,
get-salience-evaluation,
halt,
reset,
run,
run-until-halt,
set-node-index-hash,
set-reset-globals,
set-salience-evaluation,
set-strategy,
undefadvice,
undefrule,
get-focus,
set-current-module,
get-current-module,
list-focus-stack,
get-focus-stack,
clear-focus-stack,
pop-focus
Mathematical functions
**,
+,
-,
/,
<,
<=,
<>,
=,
>,
>=,
abs,
div,
e,
eq,
eq*,
exp,
float,
integer,
log,
log10,
long,
max,
min,
mod,
neq,
pi,
random,
round,
sqrt,
*
Functions which query the type of a Value
evenp,
external-addressp,
floatp,
integerp,
lexemep,
longp,
multifieldp,
numberp,
oddp,
stringp,
subsetp,
symbolp
String manipulation functions
lowcase,
str-cat,
str-compare,
str-index,
str-length,
sub-string,
sym-cat,
upcase
Functions for working with multifields
complement$,
create$,
delete$,
explode$,
first$,
implode$,
insert$,
intersection$,
length$,
member$,
nth$,
replace$,
rest$,
subseq$,
union$
Functions for working with facts
assert,
assert-string,
fact-id,
fact-slot-value,
facts,
load-facts,
modify,
duplicate,
retract,
retract-string,
save-facts
Back to index