hi,
I am using jess to express a tree structure as shown below:
(deftemplate node
"a node"
(slot parent)
(slot name (type STRING))
(multislot children))
I want to define rules which can "simplify" the tree. For instance, if
two siblings have the same name, and have the "same" children structure, one
of them can be removed from the tree.
e.g.
root
/ \
a a
on transformation should give
root
|
a
Ultimately, my nodes will be more expressive and there will be various
transformation rules to simplify the tree.
I am a bit stuck and would appreciate any help which points me into the
right direction.
Thanks in advance,
-- Dhananjay
---------------------------------------------------------------------
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 problems? Notify [EMAIL PROTECTED]
---------------------------------------------------------------------