#NEWLINE# def __init__( self , unique_id , pos , hardship , regime_legitimacy , risk_aversion , threshold , vision , model ) : #NEWLINE# #INDENT# "\n        Create a new Citizen.\n        Args:\n            unique_id: unique int\n            x, y: Grid coordinates\n            hardship: Agent's 'perceived hardship (i.e., physical or economic\n                privation).' Exogenous, drawn from U(0,1).\n            regime_legitimacy: Agent's perception of regime legitimacy, equal\n                across agents.  Exogenous.\n            risk_aversion: Exogenous, drawn from U(0,1).\n            threshold: if (grievance - (risk_aversion * arrest_probability)) >\n                threshold, go/remain Active\n            vision: number of cells in each direction (N, S, E and W) that\n                agent can inspect. Exogenous.\n            model: model instance\n        " #NEWLINE# super ( Citizen , self ) . __init__ ( unique_id , model ) #NEWLINE# self . breed = 'citizen' #NEWLINE# self . unique_id = unique_id #NEWLINE# self . pos = pos #NEWLINE# self . hardship = hardship #NEWLINE# self . regime_legitimacy = regime_legitimacy #NEWLINE# self . risk_aversion = risk_aversion #NEWLINE# self . threshold = threshold #NEWLINE# self . condition = 'Quiescent' #NEWLINE# self . vision = vision #NEWLINE# self . jail_sentence = 0 #NEWLINE# self . grievance = ( self . hardship * ( 1 - self . regime_legitimacy ) ) #NEWLINE# self . arrest_probability = None