#NEWLINE# def __init__( self , label , members , kb , producer_pred = None , custom_var_name = None , negated = False ) : #NEWLINE# #INDENT# Predicate . __init__ ( self , label , kb , producer_pred ) #NEWLINE# if ( not producer_pred ) : #NEWLINE# #INDENT# if ( not custom_var_name ) : #NEWLINE# #INDENT# self . input_var = Predicate . _avar ( ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . input_var = producer_pred #NEWLINE# #UNINDENT# #UNINDENT# else : #NEWLINE# #INDENT# self . input_var = producer_pred . output_var #NEWLINE# #UNINDENT# self . output_var = self . input_var #NEWLINE# self . negated = negated #NEWLINE# self . domain = { #NEWLINE# #INDENT# self . input_var : members , #NEWLINE# #UNINDENT# }