#NEWLINE# def __init__( self , halflife ) : #NEWLINE# #INDENT# self . cost = dict ( ) #NEWLINE# self . time = defaultdict ( ( lambda : 0 ) ) #NEWLINE# self . _base_multiplier = ( 1 + ( log ( 2 ) / float ( halflife ) ) ) #NEWLINE# self . tick = 1 #NEWLINE# self . _base = 1