Class DefaultExactCooperativeEffectBaseComparator


  • public class DefaultExactCooperativeEffectBaseComparator
    extends Object
    Default exact comparator for CooperativeEffect It will first compare the outcome using DefaultCvTermComparator. Then it will compare the response using DefaultCvTermComparator. Then it will compare the CooperativityEvidences using DefaultCooperativityEvidenceComparator. Finally it will compare the affected interactions using DefaultExactModelledInteractionComparator
    Since:
    23/05/13
    Version:
    $Id$
    Author:
    Marine Dumousseau (marine@ebi.ac.uk)
    • Constructor Detail

      • DefaultExactCooperativeEffectBaseComparator

        public DefaultExactCooperativeEffectBaseComparator()
    • Method Detail

      • areEquals

        public static boolean areEquals​(CooperativeEffect cooperativeEffect1,
                                        CooperativeEffect cooperativeEffect2)
        Use DefaultExactCooperativeEffectBaseComparator to know if two CooperativeEffects are equals.
        Parameters:
        cooperativeEffect1 - a CooperativeEffect object.
        cooperativeEffect2 - a CooperativeEffect object.
        Returns:
        true if the two CooperativeEffects are equal