Class AbstractMatrixExpansion<T extends Interaction,B extends BinaryInteraction>
- java.lang.Object
-
- psidev.psi.mi.jami.binary.expansion.AbstractComplexExpansionMethod<T,B>
-
- psidev.psi.mi.jami.binary.expansion.AbstractMatrixExpansion<T,B>
-
- All Implemented Interfaces:
ComplexExpansionMethod<T,B>
- Direct Known Subclasses:
InteractionEvidenceMatrixExpansion
,MatrixExpansion
,ModelledInteractionMatrixExpansion
public abstract class AbstractMatrixExpansion<T extends Interaction,B extends BinaryInteraction> extends AbstractComplexExpansionMethod<T,B>
Abstract class for Matrix expansion- Since:
19/06/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Field Summary
-
Fields inherited from interface psidev.psi.mi.jami.binary.expansion.ComplexExpansionMethod
BIPARTITE, BIPARTITE_EXPANSION, BIPARTITE_EXPANSION_MI, MATRIX, MATRIX_EXPANSION, MATRIX_EXPANSION_MI, SPOKE, SPOKE_EXPANSION, SPOKE_EXPANSION_MI
-
-
Constructor Summary
Constructors Constructor Description AbstractMatrixExpansion()
Constructor for AbstractMatrixExpansion.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected Collection<B>
collectBinaryInteractionsFromNary(T interaction)
collectBinaryInteractionsFromNaryprotected abstract <P extends Participant>
BcreateBinaryInteraction(T interaction, P c1, P c2)
createBinaryInteractionprotected abstract <P extends Participant>
P[]createParticipantsArray(T interaction)
createParticipantsArray-
Methods inherited from class psidev.psi.mi.jami.binary.expansion.AbstractComplexExpansionMethod
createBinaryInteractionWrappersFrom, createNewSelfBinaryInteractionsFrom, expand, findInteractionCategory, getBinaryInteractionFactory, getMethod, isInteractionExpandable, setBinaryInteractionFactory
-
-
-
-
Method Detail
-
collectBinaryInteractionsFromNary
protected Collection<B> collectBinaryInteractionsFromNary(T interaction)
collectBinaryInteractionsFromNary
- Specified by:
collectBinaryInteractionsFromNary
in classAbstractComplexExpansionMethod<T extends Interaction,B extends BinaryInteraction>
- Parameters:
interaction
- : the interaction to expand- Returns:
- the collection of binary interaction generated from this n-ary interaction
-
createBinaryInteraction
protected abstract <P extends Participant> B createBinaryInteraction(T interaction, P c1, P c2)
createBinaryInteraction
- Type Parameters:
P
- a P object.- Parameters:
interaction
- : the interaction to expandc1
- : participant Ac2
- : 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
-
-