Class RecursiveCommunicationGroup
java.lang.Object
tools.refinery.interpreter.rete.network.communication.CommunicationGroup
tools.refinery.interpreter.rete.network.communication.timeless.RecursiveCommunicationGroup
- All Implemented Interfaces:
Comparable<CommunicationGroup>
A communication group representing either a single node where the
node is a monotonicity aware one or a set of nodes that form an SCC.
- Since:
- 2.4
-
Field Summary
Fields inherited from class tools.refinery.interpreter.rete.network.communication.CommunicationGroup
identifier, isEnqueued, representative, tracker, UNSUPPORTED_MESSAGE_KIND
-
Constructor Summary
ConstructorsConstructorDescriptionRecursiveCommunicationGroup
(CommunicationTracker tracker, Node representative, int identifier) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
boolean
isEmpty()
boolean
void
notifyHasMessage
(Mailbox mailbox, MessageSelector kind) void
notifyLostAllMessages
(Mailbox mailbox, MessageSelector kind) void
Methods inherited from class tools.refinery.interpreter.rete.network.communication.CommunicationGroup
compareTo, equals, getRepresentative, hashCode, toString
-
Constructor Details
-
RecursiveCommunicationGroup
public RecursiveCommunicationGroup(CommunicationTracker tracker, Node representative, int identifier) - Since:
- 1.7
-
-
Method Details
-
deliverMessages
public void deliverMessages()- Specified by:
deliverMessages
in classCommunicationGroup
-
isEmpty
public boolean isEmpty()- Specified by:
isEmpty
in classCommunicationGroup
-
notifyHasMessage
- Specified by:
notifyHasMessage
in classCommunicationGroup
-
notifyLostAllMessages
- Specified by:
notifyLostAllMessages
in classCommunicationGroup
-
addRederivable
-
removeRederivable
-
getRederivables
-
getMailboxes
- Specified by:
getMailboxes
in classCommunicationGroup
-
isRecursive
public boolean isRecursive()- Specified by:
isRecursive
in classCommunicationGroup
-