FIx comments
This commit is contained in:
@@ -15,8 +15,8 @@ class Algorithm():
|
||||
def __init__(self):
|
||||
self._input = None # The input values
|
||||
self._result = {} # The result of the sweep
|
||||
self._ready = False # If the sweep is reade to be executed
|
||||
self._running = False # If the sweep is currently running
|
||||
self._ready = False # If the algorithm is ready to be executed
|
||||
self._running = False # If the algorithm is currently running
|
||||
self._section = "start" # A string that names the current section of the algorithm
|
||||
self._num_steps = {} # The number of steps that were needed to solve the problem
|
||||
|
||||
@@ -66,8 +66,8 @@ class NearestNeighborsSweep(Algorithm):
|
||||
self._ready = True
|
||||
elif point_set is not None:
|
||||
raise Exception(self, "Wrong input type for point_set")
|
||||
self._sss = {}
|
||||
self._es = []
|
||||
self._sss = {} # The sweep state structure
|
||||
self._es = [] # The event queue
|
||||
self._result = {"success": False, \
|
||||
"distance": None, \
|
||||
"points": [None, None]}
|
||||
|
||||
Reference in New Issue
Block a user