Guest User

Untitled

a guest
Jan 19th, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.12 KB | None | 0 0
  1. centers = random(k)
  2. while True:
  3. p = next_point(points)
  4. c = find_center(centers, p)
  5. c = c + a * (p - c)
Add Comment
Please, Sign In to add comment