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

org.jgap.util.ICommand Maven / Gradle / Ivy

Go to download

JGAP is a Genetic Algorithms and Genetic Programming component provided as a Java framework.

The newest version!
/*
 * This file is part of JGAP.
 *
 * JGAP offers a dual license model containing the LGPL as well as the MPL.
 *
 * For licensing information please see the file license.txt included with JGAP
 * or have a look at the top of class org.jgap.Chromosome which representatively
 * includes the JGAP license policy applicable for any file delivered with JGAP.
 */
package org.jgap.util;

/**
 * Interface for commands (part of the Command pattern)
 *
 * @author Klaus Meffert
 * @since 2.3
 */
public interface ICommand {
  /** String containing the CVS revision. Read out via reflection!*/
  final static String CVS_REVISION = "$Revision: 1.3 $";

  /**
   * Executes the command and returns the result of the operation
   * @param a_parameters parameters need for executing the command
   * @return result of operation
   * @throws Exception in case of any problem
   */
  CommandResult execute(Object a_parameters)
      throws Exception;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy