Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def __init__(self,Q):
self.coincidences = Hashtable(Q * 10)
self.arcsByPoint = Hashtable(Q * 10)
self.pointsByPoint = Hashtable(Q * 10)
#self.arc_db_path=mkdtemp()+'/arc_db'
#self.arcs= shelve.open(self.arc_db_path)
self.arcs={}
self.length=0
#self.storage_path = mkdtemp()+'/db'
#self.db = shelve.open(self.storage_path)
self.db={}
def get_index(self,point):
def __init__(self,Q):
self.coincidences = Hashtable(Q * 10)
self.arcsByPoint = Hashtable(Q * 10)
self.pointsByPoint = Hashtable(Q * 10)
#self.arc_db_path=mkdtemp()+'/arc_db'
#self.arcs= shelve.open(self.arc_db_path)
self.arcs={}
self.length=0
#self.storage_path = mkdtemp()+'/db'
#self.db = shelve.open(self.storage_path)
self.db={}
def get_index(self,point):
def __init__(self,Q):
self.coincidences = Hashtable(Q * 10)
self.arcsByPoint = Hashtable(Q * 10)
self.pointsByPoint = Hashtable(Q * 10)
#self.arc_db_path=mkdtemp()+'/arc_db'
#self.arcs= shelve.open(self.arc_db_path)
self.arcs={}
self.length=0
#self.storage_path = mkdtemp()+'/db'
#self.db = shelve.open(self.storage_path)
self.db={}
def get_index(self,point):