Commits

Peter Arrenbrecht committed bcddd42

drop old code

  • Participants
  • Parent commits 5d08825

Comments (0)

Files changed (1)

File src/discovery_tonfa.py

         self._common = set()
         self._missing = set()
 
-    def random_sample(self):
-        heads = self.dag.headsof(self._unknown)
-        heads.update(random.sample(self._unknown, log2(len(self._unknown))))
-        return heads
+    def commonheads(self, server):
 
     def common(self, server):
         i = 0