Project

General

Profile

Revision 798

Utilization-based LWF generation (still needs some work, but mostly done)

View differences:

stats.py
137 137
        DiscreteDistribution.__init__(self, values)
138 138
        self.__distribution = UniformDistribution(0,1)
139 139
        
140
    def seed(self, x):
141
        self.__distribution.seed(x)
142
        
140 143
    def get(self):
141 144
        return self._get_from_prob(self.__distribution.get())      
142 145
    

Also available in: Unified diff