From 70bb80e445efd25ef7a33935f45013e9e1116778 Mon Sep 17 00:00:00 2001 From: Pascal Lais Date: Mon, 9 Mar 2020 19:18:07 +0100 Subject: [PATCH] FIx comments --- algorithm.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/algorithm.py b/algorithm.py index 9432876..f347477 100644 --- a/algorithm.py +++ b/algorithm.py @@ -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]}