All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.sourceforge.cilib.util.selection.recipes.Selector Maven / Gradle / Ivy

/**           __  __
 *    _____ _/ /_/ /_    Computational Intelligence Library (CIlib)
 *   / ___/ / / / __ \   (c) CIRG @ UP
 *  / /__/ / / / /_/ /   http://cilib.net
 *  \___/_/_/_/_.___/
 */
package net.sourceforge.cilib.util.selection.recipes;

import net.sourceforge.cilib.util.selection.PartialSelection;


/**
 * A recipe is a series of steps that need to be followed to achieve a
 * selection.
 * @param  The selection type.
 */
public interface Selector {

    /**
     * Perform the selection process.
     * @param iterable The elements to perform the selection on.
     * @return The selected element.
     */
    PartialSelection on(Iterable iterable);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy