Portions of a generic genetic-algorithms library