package org.uma.jmetal.core;

import org.uma.jmetal45.util.JMetalException;

/**
 * Interface representing an operator
 * @author Antonio J. Nebro
 * @version 0.1
 */
public interface Operator<Source, Result> {
  /**
   * @param source the data to process
   * @throws JMetalException when the combination of parameters is inconsistent (missing or incompatible values)
   */
  public Result execute(Source source) throws JMetalException;
}

//  This program is free software: you can redistribute it and/or modify
//  it under the terms of the GNU Lesser General Public License as published by
//  the Free Software Foundation, either version 3 of the License, or
//  (at your option) any later version.
//
//  This program is distributed in the hope that it will be useful,
//  but WITHOUT ANY WARRANTY; without even the implied warranty of
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//  GNU Lesser General Public License for more details.
//
//  You should have received a copy of the GNU Lesser General Public License
//  along with this program.  If not, see <http://www.gnu.org/licenses/>.

package org.uma.jmetal.core;

import org.uma.jmetal.util.JMetalException;

/**
 * Interface representing an operator
 * @author Antonio J. Nebro
 * @version 0.1
 */
public interface Operator<Source, Result> {
  /**
   * @param source the data to process
   * @throws JMetalException when the combination of parameters is inconsistent (missing or incompatible values)
   */
  public Result execute(Source source) throws JMetalException;
}

Add comments to some classes
Add comments to some classes
