Beispiel #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")
Beispiel #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)
Beispiel #4
0
 def __init__(self, game, value=None):
     self._game = weakref.ref(game)
     Random.__init__(self, value)
     CountingRandom.count = 0
Beispiel #5
0
 def __init__(self):
     Random.__init__(self)
     self.dateSeed = time.strftime("%Y%m%d",time.localtime())
     Random.seed(self,self.dateSeed)
Beispiel #6
0
 def __init__(self, game, value=None):
     self._game = weakref.ref(game)
     Random.__init__(self, value)
     self.count = 0
Beispiel #7
0
 def __init__(self, *args):
     Random.__init__(self)
     self.seed(*args)
 def __int__(self, *args):
     Random.__init__(self, *args)
Beispiel #9
0
 def __init__(self):
     BasePDT.__init__(self)
     Random.__init__(self,
                     "Between the thought and the act falls the shadow.")
Beispiel #10
0
 def __init__(self, x):
     Random.__init__(self, x)
Beispiel #11
0
 def __init__(self):
     self._inst = FortunaEasy()
     Random.__init__(self)
 def __init__(self, seed):
     SystemRandom.__init__(self, seed)
Beispiel #13
0
 def __init__(self):
     BasePDT.__init__(self)
     Random.__init__(self, "Between the thought and the act falls the shadow.")
Beispiel #14
0
 def __init__(self):
     Primitive.__init__(self)
     Random.__init__(self, "sa7ori")
Beispiel #15
0
 def __init__(self):
     Random.__init__(self)