コード例 #1
0
 def __init__(self, budget, time, userList):
     Approach.__init__(self, budget, time)
     self.beta = 0.1
     self.userList = userList
     self.active_users = {}
     self.pre_active_users = {}
     self.status_last_time = 0.0
     self.matrix = self.init_matrix()
コード例 #2
0
 def __init__(self, budget, time, userList):
     Approach.__init__(self, budget, time)
     self.userList = userList