
import java.awt.*;


public interface BlackBox
        {

        public double objective(boolean [] chromosome);

        public int chrom_length();

        public boolean maximization();

        }


        //  public double objective(boolean [] chromosome);
        //
        //     Returns scalar fitness
        //     after evaluating
        //     the potential solution to the BB problem, with
        //     the solution defined by the setting of the L bits
        //     the "chromosome" array.
        //
        //     The length L should be apparent in the class name
        //     of the class implementing this interface, but can
        //     also be determined by calling the method
        //
        //
        //  public int chrom_length();
        //
        //		Returns the fixed chromosome length, in bits, for
        //      this BB problem.
        //
        //
        //  public boolean maximization();
        //
        //  	Returns 'true' iff this is a maximization problem,
        //		returns 'false' iff this is a minimization problem.
        //      (In other words, the task is to max. or min. fitness.






