Other Links:
|
|
The following table lists the functions in the Inference Engine Component
Suite, v4.0. Most functions are functionally equivalent to their CLIPS counterparts. Some functions, especially those functions in the Object
package, have been specifically added to extend the inference engine
functionality beyond the basic CLIPS functionality. IECS v2.0 added 70 new functions. IECS v4.0 added even more, including FMX functions (though the DB functions were deprecated). IECS v5.0 also adds 32 New IECS Functions (OS, Directory, and File functions), which are not listed here yet.
The functions have been divided into packages generally based on the category
of their use. Note that packages refers to Inference Engine packages, not
Delphi packages. They provide easy run-time partitioning of the
functionality of the inference engine (don't include a package and the functions
in that package are not available to the expert system). Of course,
functions may be added and removed from the inference engine separate from their
package.
Standard Package
__get-var
|
<
|
<=
|
<>
|
=
|
>
|
>=
|
and
|
assert
|
assert-string
|
batch
|
bind
|
clear
|
clear-focus-stack
|
clear-storage
|
close
|
create$
|
delete$
|
do-backward-chaining
|
dribble-off
|
dribble-on
|
duplicate
|
eq*
|
eq
|
exit
|
explode$
|
fetch
|
first$
|
focus
|
foreach
|
format
|
gensym*
|
get-current-module
|
get-fact-duplication
|
get-focus
|
get-focus-stack
|
get-slot-value
|
halt
|
if
|
implode$
|
insert$
|
length$
|
load
|
load-facts
|
member
|
member$
|
modify
|
neq
|
not
|
nth$
|
open
|
or
|
pop-focus
|
printout
|
read
|
readline
|
remove
|
rename
|
replace$
|
reset
|
rest$
|
retract
|
retract-string
|
return
|
run
|
save
|
save-facts
|
set-current-module
|
set-fact-duplication
|
store
|
subseq$
|
|
subsetp
|
throw
|
try
|
unwatch
|
version
|
watch
|
while
|
|
Math Package
-
|
*
|
**
|
/
|
+
|
abs
|
div
|
exp
|
float
|
integer
|
log
|
log10
|
max
|
min
|
mod
|
PI
|
random
|
randomize
|
round
|
seed
|
sqrt
|
|
|
|
Miscellaneous Package
agenda
|
date-str
|
datetime-str
|
datetime-str-format
|
decode-day
|
decode-hour
|
decode-millisecond
|
decode-minute
|
decode-month
|
decode-second
|
decode-year
|
encode-date
|
encode-time
|
facts
|
get-dynamic-constraint-checking
|
get-static-constraint-checking
|
guard
|
is-binding
|
is-deftype
|
is-deffunction
|
is-defglobal
|
is-defrule
|
is-deffacts
|
is-deftemplate
|
list-deffacts
|
list-deffunctions
|
list-defrules
|
|
list-deftemplates
|
list-deftypes
|
list-focus-stack
|
parse
|
ppdeffacts
|
ppdeffunction
|
ppdefmodule
|
ppdefrule
|
ppdeftemplate
|
ppdeftype
|
|
|
rules
|
set-dynamic-constraint-checking
|
setgen
|
set-reset-globals
|
set-static-constraint-checking
|
str-date
|
str-datetime
|
str-time
|
system-date
|
system-datetime
|
system-time
|
time
|
time-str
|
undeffacts
|
undeffunction
|
undefrule
|
undeftemplate
|
undeftype
|
|
|
Predicate Package
evenp
|
external-addressp
|
floatp
|
fuzzyp
|
get-type
|
integerp
|
lexemep
|
multifieldp
|
numberp
|
objectp
|
oddp
|
stringp
|
symbolp
|
|
|
|
String Package
lowcase
|
str-cat
|
str-compare
|
str-index
|
str-length
|
sub-string
|
sym-cat
|
upcase
|
Object Package
create-object
|
execute-action
|
free-object
|
|
get-class
|
get-component
|
get-components
|
get-properties
|
get-property
|
is-class
|
set-property
|
|
|
|
|
|
Business Package
double-declining-balance
|
future-value
|
interest-payment
|
interest-rate
|
internal-rate-of-return
|
net-present-value
|
number-of-periods
|
payment
|
period-payment
|
present-value
|
sln-depreciation
|
syd-depreciation
|
Trigonometry Package
acos
|
acosh
|
acot
|
acoth
|
acsc
|
acsch
|
asec
|
asech
|
asin
|
asinh
|
atan
|
atan2
|
atanh
|
cos
|
cosh
|
cot
|
coth
|
csc
|
csch
|
cycle-rad
|
deg-grad
|
deg-rad
|
distance
|
distance-manhattan
|
distance-sqr
|
grad-deg
|
grad-rad
|
hypotenuse
|
rad-cycle
|
rad-deg
|
rad-grad
|
sec
|
sech
|
sin
|
sinh
|
tan
|
tanh
|
|
|
|
Fuzzy Logic Package
beta
|
create-fuzzy-value
|
fuzzy-assert
|
fuzzy-assert-unconditional
|
fuzzy-intersection
|
fuzzy-intersection-x
|
fuzzy-union
|
fuzzy-union-x
|
get-activation-threshold
|
get-compatibility-index
|
get-fs
|
get-fs-length
|
get-fs-value
|
get-fs-variable
|
get-fs-x
|
get-fs-y
|
get-fuzzy-auto-terms
|
get-fuzzy-correlation
|
get-fuzzy-inference
|
get-fuzzy-threshold
|
get-u
|
get-u-from
|
get-u-to
|
get-u-units
|
is-undecidable
|
maximum-defuzzify
|
moment-defuzzify
|
pi
|
plot-fuzzy-value
|
s
|
set-activation-threshold
|
set-fuzzy-auto-terms
|
set-fuzzy-correlation
|
set-fuzzy-inference
|
set-fuzzy-threshold
|
tri
|
z
|
|
|
|
Database Package* (v3.0 and earlier)
assert-record
|
assert-record-string
|
dataset-at-first
|
dataset-at-last
|
dataset-cancel
|
dataset-delete
|
dataset-edit
|
dataset-first
|
dataset-insert
|
dataset-last
|
dataset-move-by
|
dataset-next
|
dataset-post
|
dataset-prior
|
dataset-refresh
|
duplicate-record
|
get-dataset-active
|
get-dataset-empty
|
get-dataset-read-only
|
is-dataset-fact
|
modify-record
|
retract-record
|
retract-record-string
|
set-dataset-active
|
set-dataset-read-only
|
|
|
|
Vcl Package
create-component
|
input-box
|
input-query
|
get-color
|
get-color-name
|
message-dlg
|
show-message
|
|
FMX Package
animate-color
|
animate-color-delay
|
animate-color-wait
|
animate-float
|
animate-float-delay
|
animate-float-wait
|
create-component
|
get-color
|
get-color-name
|
input-box
|
input-query
|
message-dlg
|
pause-animation
|
resume-animation
|
show-message
|
start-animation
|
start-trigger-animation
|
start-trigger-animation-wait
|
stop-animation
|
stop-property-animation
|
stop-trigger-animation
|
|
|
|
|