コード例 #1
0
ファイル: bench.py プロジェクト: siwiwit/slps
 def getBottoms(self):
     if not self.cache.bottoms:
         self.cache.bottoms = metrics.setminus(self._getNRUs(),
                                               self._getDefds())
     return self.cache.bottoms
コード例 #2
0
ファイル: bench.py プロジェクト: siwiwit/slps
 def getDeadTops(self):
     if not self.cache.deadtops:
         self.cache.deadtops = metrics.setminus(self._getTops(),
                                                self.grammar.roots)
     return self.cache.deadtops
コード例 #3
0
ファイル: bench.py プロジェクト: siwiwit/slps
 def _getTops(self):
     if not self.cache.tops:
         self.cache.tops = metrics.setminus(self._getDefds(),
                                            self._getNRUs())
     return self.cache.tops
コード例 #4
0
ファイル: bench.py プロジェクト: AmrEledkawy/slps
	def getBottoms(self):
		if not self.cache.bottoms:
			self.cache.bottoms = metrics.setminus(self._getNRUs(),self._getDefds())
		return self.cache.bottoms
コード例 #5
0
ファイル: bench.py プロジェクト: AmrEledkawy/slps
	def getDeadTops(self):
		if not self.cache.deadtops:
			self.cache.deadtops = metrics.setminus(self._getTops(),self.grammar.roots)
		return self.cache.deadtops
コード例 #6
0
ファイル: bench.py プロジェクト: AmrEledkawy/slps
	def _getTops(self):
		if not self.cache.tops:
			self.cache.tops = metrics.setminus(self._getDefds(),self._getNRUs())
		return self.cache.tops