Esempio n. 1
0
 def __init__(self):
     Random.__init__(self)
     self.prefix = ""
     self.random_float_file = open("random.random", "w")
     self.random_int_file = open("random.randint", "w")
     self.random_sample_file = open("random.sample", "w")
     self.random_gamma_file = open("random.gamma", "w")
     self.random_choice_file = open("random.choice", "w")
     self.random_noise_file = open("random.noise", "w")
Esempio n. 2
0
 def __init__(self):
     Random.__init__(self)
     self.dateSeed = time.strftime("%Y%m%d",time.localtime())
     Random().seed(self.dateSeed)
 def __init__(self, seed):
     SystemRandom.__init__(self, seed)
Esempio n. 4
0
 def __init__(self, game, value=None):
     self._game = weakref.ref(game)
     Random.__init__(self, value)
     CountingRandom.count = 0
Esempio n. 5
0
 def __init__(self):
     Random.__init__(self)
     self.dateSeed = time.strftime("%Y%m%d",time.localtime())
     Random.seed(self,self.dateSeed)
Esempio n. 6
0
 def __init__(self, game, value=None):
     self._game = weakref.ref(game)
     Random.__init__(self, value)
     self.count = 0
Esempio n. 7
0
 def __init__(self, *args):
     Random.__init__(self)
     self.seed(*args)
 def __int__(self, *args):
     Random.__init__(self, *args)
Esempio n. 9
0
 def __init__(self):
     BasePDT.__init__(self)
     Random.__init__(self,
                     "Between the thought and the act falls the shadow.")
Esempio n. 10
0
 def __init__(self, x):
     Random.__init__(self, x)
Esempio n. 11
0
 def __init__(self):
     self._inst = FortunaEasy()
     Random.__init__(self)
 def __init__(self, seed):
     SystemRandom.__init__(self, seed)
Esempio n. 13
0
 def __init__(self):
     BasePDT.__init__(self)
     Random.__init__(self, "Between the thought and the act falls the shadow.")
Esempio n. 14
0
 def __init__(self):
     Primitive.__init__(self)
     Random.__init__(self, "sa7ori")
Esempio n. 15
0
 def __init__(self):
     Random.__init__(self)