def compute_complexity(self, evaluations): # Will change as self.num_calls increases return compute_complexity(evaluations, self.get_domain()) + \ self.external.get_complexity(self.num_calls)
def compute_complexity(self, evaluations): # Should be constant return compute_complexity(evaluations, self.get_domain()) + \ self.external.get_complexity(self.call_index)
def compute_complexity(self, evaluations, **kwargs): # Will change as self.num_calls increases #num_calls = INF if self.enumerated else self.num_calls return compute_complexity(evaluations, self.get_domain(), **kwargs) + \ self.external.get_complexity(self.num_calls)