ObjectTypeNodes are responsible for filtering and propagating the matching fact assertions propagated from the Rete
node using ObjectType
interface. The assert and retract methods do not attempt to filter as this is the role of the Rete
node which builds up a cache of matching ObjectTypdeNodes
s for each asserted object, using the matches(Object object)
method. Incorrect propagation in these methods is not checked and will result in ClassCastExpcections
later on in the network. Filters Objects
coming from the Rete
using a ObjectType
semantic module.
@see Rete
Objects
coming from the Rete
using a ObjectType
semantic module. It receives Objects
from the Rete
, uses a ObjectType
instance to determine membership, and propagates matching Objects
further to all matching ParameterNode
s.
|
|