#NEWLINE# def step_breed( self , breed ) : #NEWLINE# #INDENT# '\n        Shuffle order and run all agents of a given breed.\n\n        Args:\n            breed: Class object of the breed to run.\n        ' #NEWLINE# agents = self . agents_by_breed [ breed ] #NEWLINE# random . shuffle ( agents ) #NEWLINE# for agent in agents : #NEWLINE# #INDENT# agent . step ( self . model )