⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 igridconfigurationgp.java

📁 一个开源的用java开发的遗传算法的封装好的工程
💻 JAVA
字号:
/*
 * This file is part of JGAP.
 *
 * JGAP offers a dual license model containing the LGPL as well as the MPL.
 *
 * For licencing 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.distr.grid.gp;

import java.io.*;

import org.homedns.dade.jcgrid.client.*;
import org.jgap.*;
import org.jgap.gp.*;
import org.jgap.gp.impl.*;

/**
 * Interface for a GP-related grid configuration. It provides all information
 * necessary to define a problem and a strategy to distributedly solve the problem.
 *
 * @author Klaus Meffert
 * @since 3.2
 */
public interface IGridConfigurationGP
    extends Serializable {
  /** String containing the CVS revision. Read out via reflection!*/
  final static String CVS_REVISION = "$Revision: 1.3 $";

  IClientFeedbackGP getClientFeedback();

  IClientEvolveStrategyGP getClientEvolveStrategy();

  IRequestSplitStrategyGP getRequestSplitStrategy();

  GPConfiguration getConfiguration();

  void setConfiguration(GPConfiguration a_config);

  IWorkerEvolveStrategyGP getWorkerEvolveStrategy();

  void setWorkerEvolveStrategy(IWorkerEvolveStrategyGP a_strategy);

  void setClientEvolveStrategy(IClientEvolveStrategyGP a_strategy);

  void setClientFeedback(IClientFeedbackGP a_clientFeedback);

  void setRequestSplitStrategy(IRequestSplitStrategyGP a_splitStrategy);

  IWorkerReturnStrategyGP getWorkerReturnStrategy();

  void setWorkerReturnStrategy(IWorkerReturnStrategyGP a_strategy);

  IGenotypeInitializerGP getGenotypeInitializer();

  void setGenotypeInitializer(IGenotypeInitializerGP a_initializer);

  void initialize(GridNodeClientConfig gridconfig)
      throws Exception;
  void validate()
      throws Exception;

  /**@todo move the following to GPConfigtation, eleganty*/
  void setTypes(Class[] a_types);

  void setArgTypes(Class[][] a_argTypes);

  void setNodeSets(CommandGene[][] a_nodeSets);

  void setMinDepths(int[] a_minDepths);

  void setMaxDepths(int[] a_maxDepths);

  void setMaxNodes(int a_maxNodes);

  Class[] getTypes();

  Class[][] getArgTypes();

  CommandGene[][] getNodeSets();

  int[] getMinDepths();

  int[] getMaxDepths();

  int getMaxNodes();
  // End of todo

}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -