You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This class should take a set of (x,y,l) points, where x and y are the coordinates of a point, and the label is l. The value of l will be an integer with value from 0 to $\infty$. This set of points will be provided in the constructor. We should then be able to provide any (x,y) point, and get a label determined by the closest point, the same way that colors are assigned in a voronoi diagram.
This class should be in a file called utilities.py in the pit directory.
The text was updated successfully, but these errors were encountered:
This class should take a set of$\infty$ . This set of points will be provided in the constructor. We should then be able to provide any
(x,y,l)
points, where x and y are the coordinates of a point, and the label isl
. The value ofl
will be an integer with value from 0 to(x,y)
point, and get a label determined by the closest point, the same way that colors are assigned in a voronoi diagram.This class should be in a file called
utilities.py
in thepit
directory.The text was updated successfully, but these errors were encountered: