Class ExternalInputStatelessFilterNode
java.lang.Object
tools.refinery.interpreter.rete.network.BaseNode
tools.refinery.interpreter.rete.network.StandardNode
tools.refinery.interpreter.rete.single.SingleInputNode
tools.refinery.interpreter.rete.single.FilterNode
tools.refinery.interpreter.rete.boundary.ExternalInputStatelessFilterNode
- All Implemented Interfaces:
Disconnectable
,NetworkStructureChangeSensitiveNode
,Node
,Receiver
,Supplier
,Tunnel
A filter node representing a (stateless, typically non-enumerable) extensional input relation.
Contains those tuples of its parents, that (when transformed by a mask, if given) are present in the extensional relation identified by the input key.
-
Field Summary
Fields inherited from class tools.refinery.interpreter.rete.single.SingleInputNode
mailbox, parent
Fields inherited from class tools.refinery.interpreter.rete.network.StandardNode
childMailboxes, children
Fields inherited from class tools.refinery.interpreter.rete.network.BaseNode
nodeId, reteContainer, tag, traceInfos
-
Constructor Summary
ConstructorDescriptionExternalInputStatelessFilterNode
(ReteContainer reteContainer, TupleMask mask) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Abstract filtering predicate.void
connectThroughContext
(ReteEngine engine, IInputKey inputKey) void
Disconnects this rete engine component from the underlying model.Methods inherited from class tools.refinery.interpreter.rete.single.FilterNode
pullInto, pullIntoWithTimeline, update
Methods inherited from class tools.refinery.interpreter.rete.single.SingleInputNode
appendParent, assignTraceInfo, getCommunicationTracker, getMailbox, getParents, instantiateMailbox, propagatePullInto, propagatePullIntoWithTimestamp, removeParent
Methods inherited from class tools.refinery.interpreter.rete.network.StandardNode
appendChild, constructIndex, getChildMailboxes, getPulledContents, getReceivers, issueError, networkStructureChanged, propagateUpdate, removeChild
Methods inherited from class tools.refinery.interpreter.rete.network.BaseNode
acceptPropagatedTraceInfo, getContainer, getNodeId, getTag, getTraceInfoPatternsEnumerated, getTraceInfos, setTag, toString, toStringCore
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface tools.refinery.interpreter.rete.network.Node
acceptPropagatedTraceInfo, getContainer, getNodeId, getTag, getTraceInfos, setTag
Methods inherited from interface tools.refinery.interpreter.rete.network.Receiver
batchUpdate
Methods inherited from interface tools.refinery.interpreter.rete.network.Supplier
appendChild, constructIndex, getPulledContents, getPulledContents, getReceivers, removeChild
-
Constructor Details
-
ExternalInputStatelessFilterNode
-
-
Method Details
-
check
Description copied from class:FilterNode
Abstract filtering predicate. Expected to be stateless.- Specified by:
check
in classFilterNode
- Parameters:
ps
- the matching to be checked.- Returns:
- true if and only if the parameter matching is allowed to pass through this node.
-
connectThroughContext
-
disconnect
public void disconnect()Description copied from interface:Disconnectable
Disconnects this rete engine component from the underlying model. Disconnecting enables the garbage collection mechanisms to dispose of the rete network.- Specified by:
disconnect
in interfaceDisconnectable
-