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

    • Constructor Detail

      • AbstractMatrixExpansion

        public AbstractMatrixExpansion()

        Constructor for AbstractMatrixExpansion.

    • 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 - : participant A
        c2 - : participant B
        Returns:
        the binary interaction
      • createParticipantsArray

        protected abstract <P extends Participant> P[] createParticipantsArray​(T interaction)

        createParticipantsArray

        Type Parameters:
        P - a P object.
        Parameters:
        interaction - : the interaction to expand
        Returns:
        the array of participants involved in this interaction