Interface for genetic algorith