Next: Operations on Behaviors
Up: The Knowledge-Base Behaviors
Previous: Test Function
The behavior called :collection-types specifies how the FRS
interprets multiple values for a slot. The possible values are:
- :list -- The order of values within a slot is important,
and duplicate values are permitted
- :set -- The order of values within a slot is unimportant,
and duplicate values are not permitted
- :multiset -- The order of values within a slot is
unimportant, and duplicate values are permitted (also known as a bag)
- :none - The FRS does not support multiple-valued slots.
Some FRSs may support more than one possible interpretation, in which
case, the :collection-type facet specifies how multiple values are to
be interpreted for a particular slot. The first behavior value specified
is the default.
Peter Karp