from debug import Debug from dataset import Dataset from globalVariables import * from electorClass import Elector #to turn printing off/on, simply set the following to False/True Debug.isOn = False seed = rng.randint(0, 2**32-1) #set seed for BOTH numpy and random rng.seed(seed) np.random.seed(seed) Debug.Print(seed) output = Dataset(1) ################################################################################ # Initializing the World ################################################################################ Debug.Print("rescale factor is: " + str(G_RESCALE_FACTOR)) # Initialize mu_A and mu_B randomly mu_A = N_VOTERS_PREF_A = int(np.random.uniform(0, N_VOTERS)) mu_B = N_VOTERS_PREF_B = N_VOTERS - mu_A