Class AbstractSpokeExpansion<T extends Interaction,​B extends BinaryInteraction>

    • Constructor Detail

      • AbstractSpokeExpansion

        public AbstractSpokeExpansion()

        Constructor for AbstractSpokeExpansion.

    • Method Detail

      • createBinaryInteraction

        protected abstract <P extends ParticipantB createBinaryInteraction​(T interaction,
                                                                             P c1,
                                                                             P c2)

        createBinaryInteraction

        Type Parameters:
        P - a P object.
        Parameters:
        interaction - : the interaction to expand
        c1 - : the bait
        c2 - : the prey
        Returns:
        the binary interaction
      • collectBestBaitForSpokeExpansion

        protected abstract <P extends Participant> P collectBestBaitForSpokeExpansion​(T interaction)

        collectBestBaitForSpokeExpansion

        Type Parameters:
        P - a P object.
        Parameters:
        interaction - : the interaction to expand
        Returns:
        the best bait to use for complex expansion among all participants of this interaction