Interface ComplexExpansionFactory

  • All Known Implementing Classes:
    DefaultComplexExpansionFactory

    public interface ComplexExpansionFactory
    An interface for a factory of complex expansion methods
    Since:
    16/10/13
    Version:
    $Id$
    Author:
    Marine Dumousseau (marine@ebi.ac.uk)
    • Method Detail

      • createComplexExpansionMethod

        ComplexExpansionMethod createComplexExpansionMethod​(InteractionCategory category,
                                                            ComplexExpansionType type)
        Create an instance of complex expansion that suits the interactionCategory and the ComplexExpansionType
        Parameters:
        category - : the type of interactions to deal with (evidence, modelled, mixed,...)
        type - : the type of complex expansiom (spoke, matrix or bipartite)
        Returns:
        the complexExpansion instance
      • createDefaultComplexExpansion

        ComplexExpansionMethod<Interaction,​BinaryInteraction> createDefaultComplexExpansion​(ComplexExpansionType type)
        Create an instance of complex expansion that suits the ComplexExpansionType and can deal with any kind of interactions (modelled, evidence)
        Parameters:
        type - : the type of complex expansiom (spoke, matrix or bipartite)
        Returns:
        the complexExpansion instance that will deal with any kind of interactions (modelled, evidence, etc.)
      • createSpokeComplexExpansion

        ComplexExpansionMethod createSpokeComplexExpansion​(InteractionCategory category)
        Create an instance of spoke complex expansion that suits the interactionCategory
        Parameters:
        category - : the type of interactions to deal with (evidence, modelled, mixed,...)
        Returns:
        the spoke complexExpansion instance
      • createMatrixComplexExpansion

        ComplexExpansionMethod createMatrixComplexExpansion​(InteractionCategory category)
        Create an instance of matrix complex expansion that suits the interactionCategory
        Parameters:
        category - : the type of interactions to deal with (evidence, modelled, mixed,...)
        Returns:
        the matrix complexExpansion instance
      • createBipartiteComplexExpansion

        ComplexExpansionMethod createBipartiteComplexExpansion​(InteractionCategory category)
        Create an instance of bipartite complex expansion that suits the interactionCategory
        Parameters:
        category - : the type of interactions to deal with (evidence, modelled, mixed,...)
        Returns:
        the bipartite complexExpansion instance