#NEWLINE# def ApplyActivation( self , neg = False ) : #NEWLINE# #INDENT# if neg : #NEWLINE# #INDENT# state = self . neg_state #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# state = self . state #NEWLINE# #UNINDENT# state . lower_bound ( 0 )