Skip to content

Instantly share code, notes, and snippets.

View stanleyjs's full-sized avatar

Jay Stanley stanleyjs

View GitHub Profile
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
import random
import sys
class Node(object):
def __init__(self, recurrence):
self._recurrence = recurrence
self._neighbors = []
import random
import sys
class Node(object):
def __init__(self, numNeighbors, recurrence):
self.recurrence = recurrence
self.neighbors = []