boolean function ( ) { int loc0 = 0 ; for ( Agent loc1 : agents ) { if ( loc1 . behaviour == 0 ) { loc0 ++ ; } } return loc0 != 100 ? false : true ; }
checks to see whether the population is in a homogeneous state concode_field_sep int P concode_elem_sep double apologyCost concode_elem_sep int R concode_elem_sep int T concode_elem_sep int S concode_elem_sep int COOPERATOR concode_elem_sep int DEFECTOR concode_elem_sep double delta concode_elem_sep Agent[] agents concode_field_sep double random concode_elem_sep void start concode_elem_sep int count concode_elem_sep void reset concode_elem_sep double challenge