src/scBONITA/classDefinitions.py
def dominated(self, ind1, ind2):
        """Return true if each objective of *self* is not strictly worse than
        the corresponding objective of *other* and at least one objective is
        strictly better.
        :param obj: Slice indicating on which objectives the domination is
                    tested. The default value is `slice(None)`, representing
                    every objectives.
        """
        not_equal = False
        mean1 = np.mean(ind1.wvalues)
        mean2 = np.mean(ind2.wvalues)
        std1 = np.std(ind1.wvalues)
        if mean1 > mean2:
            not_equal = True
        elif mean1 < mean2:
            return False
        return not_equal
Return true if each objective of *self* is not strictly worse than
        the corresponding objective of *other* and at least one objective is
        strictly better.
        :param obj: Slice indicating on which objectives the domination is
                    tested. The default value is `slice(None)`, representing
                    every objectives.
        
Return true if each objective of *self* is not strictly worse than
the corresponding objective of *other* and at least one objective is
strictly better.
Return true if each objective of * self * is not strictly worse than the corresponding objective of * other * and at least one objective is strictly better .
def dominated(self, ind1, ind2):
        not_equal = False
        mean1 = np.mean(ind1.wvalues)
        mean2 = np.mean(ind2.wvalues)
        std1 = np.std(ind1.wvalues)
        if mean1 > mean2:
            not_equal = True
        elif mean1 < mean2:
            return False
        return not_equal
def dominated ( self , ind1 , ind2 ) : not_equal = False mean1 = np . mean ( ind1 . wvalues ) mean2 = np . mean ( ind2 . wvalues ) std1 = np . std ( ind1 . wvalues ) if mean1 > mean2 : not_equal = True elif mean1 < mean2 : return False return not_equal
Return true if each objective of *self* is not strictly worse than
the corresponding objective of *other* and at least one objective is
strictly better.
Return true if each objective of * self * is not strictly worse than the corresponding objective of * other * and at least one objective is strictly better .
"""Return true if each objective of *self* is not strictly worse than
        the corresponding objective of *other* and at least one objective is
        strictly better.
        :param obj: Slice indicating on which objectives the domination is
                    tested. The default value is `slice(None)`, representing
                    every objectives.
        """
self
ind1
ind2
obj
Slice indicating on which objectives the domination is
tested. The default value is `slice(None)`, representing
every objectives.
Slice indicating on which objectives the domination is tested . The default value is ` slice ( None ) ` representing every objectives .