Writing a fitness function ========================== How to write your own selection function: .. code-block:: python # code here.