def __init__(self, max_num_cables, name):
        self.max_num_cables = max_num_cables
        self.name = name
        # User-defined constants
        self.AGING_TIME_CONSTANT = 10 ** 6 # real, large
        self.CHAIN_UPDATE_RATE = 10 ** -1 # real, 0 < x < 1
        # Initialize variables
        self.time_steps = 0
        daisychain_shape = (max_num_cables, max_num_cables)        
        self.count = np.zeros(daisychain_shape)
        self.expected_cable_activities = np.zeros(daisychain_shape)
        self.post_uncertainty = np.zeros(daisychain_shape)
        state_shape = (max_num_cables,1)
        self.cable_activities = np.zeros(state_shape)
        self.pre = np.zeros(state_shape)
        self.pre_count = np.zeros(state_shape)
        self.post = np.zeros(state_shape)
        self.num_cables = 0
        #self.deliberation_vote = np.zeros((max_num_cables, 1))
        self.surprise = np.ones((max_num_cables, 1))
Renames app to given name.
dataset/ETHPy150Open matt2000/becca/core/daisychain.py/DaisyChain.__init__--crossover with--dataset/ETHPy150Open kennethreitz-archive/python-github3/github3/models.py/App.rename