Hi all, I am new to the JESS world so please bear with me. Here is my problem: I need to be able to create facts (a knowledge base) that have attributes that have multiple values. This, of course, can be easily done using a multislot. However, I also need for each value within a multislot to have attributes associated with it. The number of attributes or sub-attributes is variable. The best thing would be a list of lists, but as far as I can tell, JESS doesn't do that. What I need to be able to do is to see if two facts have overlapping attributes, and then to see if the sub-attributes match for each of the attributes. The way I'm doing this right now is to have a multislot for the attributes, and then another multislot (of strings) for the sub-attributes so that sub-attributes for attributes[1] is a string at sub-attributes[1]. This is confusing and not very good coding. I seem to have to work around JESS rather than having JESS work for me. Is JESS just not made for this, or am I simply not familiar enough with it? If anybody has any ideas, I would highly appriciate some input. Thanks!
- Nik. -------------------------------------------------------------------- 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] --------------------------------------------------------------------
