@hybrid_property<EOL><INDENT>def fitness(self):<DEDENT>
try:<EOL><INDENT>return float(self.property1)<EOL><DEDENT>except TypeError:<EOL><INDENT>return None<EOL><DEDENT>
Endow agents with a numerical fitness.