コード例 #1
0
ファイル: external.py プロジェクト: Jonekee/pddlstream
 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)
コード例 #2
0
ファイル: external.py プロジェクト: Jonekee/pddlstream
 def compute_complexity(self, evaluations):
     # Should be constant
     return compute_complexity(evaluations, self.get_domain()) + \
            self.external.get_complexity(self.call_index)
コード例 #3
0
 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)