亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來(lái)到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? eo.tpl

?? 這是linux下的進(jìn)化計(jì)算的源代碼。 === === === === === === === === === === === ===== check latest news at http:
?? TPL
?? 第 1 頁(yè) / 共 2 頁(yè)
字號(hào):
  }

private:
// START Private data of an EASEAEvalFunc object
  //  varType anyVariable;       // for example ...
// END   Private data of an EASEAEvalFunc object
};


#endif

\START_EO_INITER_TPL// -*- mode: c++; c-indent-level: 2; c++-member-init-indent: 8; comment-column: 35; -*-
//
// (The above line is useful in Emacs-like editors)
//
//*************************************
//
//  EASEAInit.h
//
//  C++ file generated by AESAE-EO v0.7
//
//*************************************
//

/*
objects initialization in EO
============================
*/

#ifndef _EASEAInit_h
#define _EASEAInit_h

// include the base definition of eoInit
#include <eoInit.h>

/**
 *  Always write a comment in this format before class definition
 *  if you want the class to be documented by Doxygen
 *
 * There is NO ASSUMPTION on the class GenoypeT.
 * In particular, it does not need to derive from EO (e.g. to initialize
 *    atoms of an eoVector you will need an eoInit<AtomType>)
 */
template <class GenotypeT>
class EASEAInit: public eoInit<GenotypeT> {
public:
  /// Ctor - no requirement
// START eventually add or modify the anyVariable argument
  EASEAInit()
  //  EASEAInit( varType & _anyVariable) : anyVariable(_anyVariable)
// END eventually add or modify the anyVariable argument
  {
    // START Code of Ctor of an EASEAInit object
    // END   Code of Ctor of an EASEAInit object
  }


  /** initialize a genotype
   *
   * @param _genotype  generally a genotype that has been default-constructed
   *                   whatever it contains will be lost
   */
  void operator()(GenotypeT & _genotype)
  {
    // START Code of random initialization of an EASEAGenome object
\INSERT_EO_INITIALISER
    // END   Code of random initialization of an EASEAGenome object
    _genotype.invalidate();    // IMPORTANT in case the _genotype is old
  }

private:
// START Private data of an EASEAInit object
  //  varType & anyVariable;       // for example ...
// END   Private data of an EASEAInit object
};

#endif


\START_EO_MUT_TPL// -*- mode: c++; c-indent-level: 2; c++-member-init-indent: 8; comment-column: 35; -*-
//
// (The above line is useful in Emacs-like editors)
//
//*************************************
//
//  EASEAMutation.h
//
//  C++ file generated by AESAE-EO v0.7
//
//*************************************
//

/*
simple mutation operators
=========================
*/

#ifndef EASEAMutation_H
#define EASEAMutation_H


#include <eoOp.h>

/**
 *  Always write a comment in this format before class definition
 *  if you want the class to be documented by Doxygen
 *
 * THere is NO ASSUMPTION on the class GenoypeT.
 * In particular, it does not need to derive from EO
 */
template<class GenotypeT>
class EASEAMutation: public eoMonOp<GenotypeT>
{
public:
  /**
   * Ctor - no requirement
   */
// START eventually add or modify the anyVariable argument
  EASEAMutation()
  //  EASEAMutation( varType  _anyVariable) : anyVariable(_anyVariable)
// END eventually add or modify the anyVariable argument
  {
    // START Code of Ctor of an EASEAMutation object
    // END   Code of Ctor of an EASEAMutation object
  }

  /// The class name. Used to display statistics
  string className() const { return "EASEAMutation"; }

  /**
   * modifies the parent
   * @param _genotype The parent genotype (will be modified)
   */
  bool operator()(GenotypeT & _genotype)
  {
    // START code for mutation of the _genotype object
\INSERT_MUTATOR
    // END code for mutation of the _genotype object

private:
// START Private data of an EASEAMutation object
  //  varType anyVariable;       // for example ...
// END   Private data of an EASEAMutation object
};

#endif

\START_EO_QUAD_XOVER_TPL// -*- mode: c++; c-indent-level: 2; c++-member-init-indent: 8; comment-column: 35; -*-
//
// (The above line is useful in Emacs-like editors)
//
//*************************************
//
//  EASEAQuadCrossover.h
//
//  C++ file generated by AESAE-EO v0.7
//
//*************************************
//

/*
Template for simple quadratic crossover operators
=================================================

Quadratic crossover operators modify both genotypes
*/

#ifndef EASEAQuadCrossover_H
#define EASEAQuadCrossover_H

#include <eoOp.h>

/**
 *  Always write a comment in this format before class definition
 *  if you want the class to be documented by Doxygen
 *
 * THere is NO ASSUMPTION on the class GenoypeT.
 * In particular, it does not need to derive from EO
 */
template<class GenotypeT>
class EASEAQuadCrossover: public eoQuadOp<GenotypeT>
{
public:
  /**
   * Ctor - no requirement
   */
// START eventually add or modify the anyVariable argument
  EASEAQuadCrossover()
  //  EASEAQuadCrossover( varType  _anyVariable) : anyVariable(_anyVariable)
// END eventually add or modify the anyVariable argument
  {
    // START Code of Ctor of an EASEAQuadCrossover object
    // END   Code of Ctor of an EASEAQuadCrossover object
  }

  /// The class name. Used to display statistics
  string className() const { return "EASEAQuadCrossover"; }

  /**
   * eoQuad crossover - modifies both genotypes
   */
  bool operator()(GenotypeT& child1, GenotypeT & child2)
  {
      GenotypeT parent1(child1);
      GenotypeT parent2(child2);

    // START code for crossover of child1 and child2 objects
\INSERT_CROSSOVER
    return (parent1!=child1)||(parent2!=child2);
    // END code for crossover of child1 and child2 objects
  }

private:
// START Private data of an EASEAQuadCrossover object
  //  varType anyVariable;       // for example ...
// END   Private data of an EASEAQuadCrossover object
};

#endif

\START_EO_CONTINUE_TPL// -*- mode: c++; c-indent-level: 2; c++-member-init-indent: 8; comment-column: 35; -*-
//
// (The above line is useful in Emacs-like editors)
//
//*************************************
//
//  EASEA_make_continue.h
//
//  C++ file generated by AESAE-EO v0.7
//
//*************************************
//

#ifndef _make_continue_h
#define _make_continue_h

/*
Contains the templatized version of parser-based choice of stopping criterion
It can then be instantiated, and compiled on its own for a given EOType
(see e.g. in dir ga, ga.cpp)
*/

// Continuators - all include eoContinue.h
#include <eoCombinedContinue.h>
#include <eoGenContinue.h>
#include <eoSteadyFitContinue.h>
#include <eoEvalContinue.h>
#include <eoFitContinue.h>
#ifndef _MSC_VER
#include <eoCtrlCContinue.h>  // CtrlC handling (using 2 global variables!)
#endif

  // also need the parser and param includes
#include <utils/eoParser.h>
#include <utils/eoState.h>


/////////////////// the stopping criterion ////////////////
template <class Indi>
eoCombinedContinue<Indi> * make_combinedContinue(eoCombinedContinue<Indi> *_combined, eoContinue<Indi> *_cont)
{
  if (_combined)       // already exists
    _combined->add(*_cont);
  else
    _combined = new eoCombinedContinue<Indi>(*_cont);
  return _combined;
}

template <class Indi>
eoContinue<Indi> & do_make_continue(eoParser& _parser, eoState& _state, eoEvalFuncCounter<Indi> & _eval)
{
  //////////// Stopping criterion ///////////////////
  // the combined continue - to be filled
  eoCombinedContinue<Indi> *continuator = NULL;

  // for each possible criterion, check if wanted, otherwise do nothing

  // First the eoGenContinue - need a default value so you can run blind
  // but we also need to be able to avoid it <--> 0
  eoValueParam<unsigned>& maxGenParam = _parser.createParam(\NB_GEN, "maxGen", "Maximum number of generations () = none)",'G',"Stopping criterion");
  // and give control to EASEA
    EZ_NB_GEN = maxGenParam.value();
    pEZ_NB_GEN = & maxGenParam.value();

    // do not test for positivity in EASEA
    //    if (maxGenParam.value()) // positive: -> define and store
    //      {
  eoGenContinue<Indi> *genCont = new eoGenContinue<Indi>(maxGenParam.value());
  _state.storeFunctor(genCont);
  // and "add" to combined
  continuator = make_combinedContinue<Indi>(continuator, genCont);
  //      }

  // the steadyGen continue - only if user imput
  eoValueParam<unsigned>& steadyGenParam = _parser.createParam(unsigned(100), "steadyGen", "Number of generations with no improvement",'s', "Stopping criterion");
  eoValueParam<unsigned>& minGenParam = _parser.createParam(unsigned(0), "minGen", "Minimum number of generations",'g', "Stopping criterion");
    if (_parser.isItThere(steadyGenParam))
      {
  eoSteadyFitContinue<Indi> *steadyCont = new eoSteadyFitContinue<Indi>
    (minGenParam.value(), steadyGenParam.value());
  // store
  _state.storeFunctor(steadyCont);
  // add to combinedContinue
  continuator = make_combinedContinue<Indi>(continuator, steadyCont);
      }

  // Same thing with Eval - but here default value is 0
  eoValueParam<unsigned long>& maxEvalParam = _parser.createParam((unsigned long)0, "maxEval", "Maximum number of evaluations (0 = none)",'E',"Stopping criterion");

    if (maxEvalParam.value()) // positive: -> define and store
      {
  eoEvalContinue<Indi> *evalCont = new eoEvalContinue<Indi>(_eval, maxEvalParam.value());
  _state.storeFunctor(evalCont);
  // and "add" to combined
  continuator = make_combinedContinue<Indi>(continuator, evalCont);
      }
    /*
  // the steadyEval continue - only if user imput
  eoValueParam<unsigned>& steadyGenParam = _parser.createParam(unsigned(100), "steadyGen", "Number of generations with no improvement",'s', "Stopping criterion");
  eoValueParam<unsigned>& minGenParam = _parser.createParam(unsigned(0), "minGen", "Minimum number of generations",'g', "Stopping criterion");
    if (_parser.isItThere(steadyGenParam))
      {
  eoSteadyGenContinue<Indi> *steadyCont = new eoSteadyFitContinue<Indi>
    (minGenParam.value(), steadyGenParam.value());
  // store
  _state.storeFunctor(steadyCont);
  // add to combinedContinue
  continuator = make_combinedContinue<Indi>(continuator, steadyCont);
      }
    */
    // the target fitness
    eoFitContinue<Indi> *fitCont;
    eoValueParam<double>& targetFitnessParam = _parser.createParam(double(0.0), "targetFitness", "Stop when fitness reaches",'T', "Stopping criterion");
    if (_parser.isItThere(targetFitnessParam))
      {
  fitCont = new eoFitContinue<Indi>
    (targetFitnessParam.value());
  // store
  _state.storeFunctor(fitCont);
  // add to combinedContinue
  continuator = make_combinedContinue<Indi>(continuator, fitCont);
      }

#ifndef _MSC_VER
    // the CtrlC interception (Linux only I'm afraid)
    eoCtrlCContinue<Indi> *ctrlCCont;
    eoValueParam<bool>& ctrlCParam = _parser.createParam(false, "CtrlC", "Terminate current generation upon Ctrl C",'C', "Stopping criterion");
    if (_parser.isItThere(ctrlCParam))
      {
  ctrlCCont = new eoCtrlCContinue<Indi>;
  // store
  _state.storeFunctor(ctrlCCont);
  // add to combinedContinue
  continuator = make_combinedContinue<Indi>(continuator, ctrlCCont);
      }
#endif

    // now check that there is at least one!
    if (!continuator)
      throw runtime_error("You MUST provide a stopping criterion");
  // OK, it's there: store in the eoState
  _state.storeFunctor(continuator);

  // and return
    return *continuator;
}

#endif

\START_EO_PARAM_TPL#*************************************
#
#  EASEA.prm
#
#  Parameter file generated by AESAE-EO v0.7
#
#*************************************
######    General    ######
# --help=0 # -h : Prints this message
# --stopOnUnknownParam=1 # Stop if unknown param entered
--seed=0   # -S : Random number seed

######    Evolution Engine    ######
--popSize=\POP_SIZE # -P : Population Size
--selection=\SELECTOR\SELECT_PRM # -S : Selection: Roulette, Ranking(p,e), DetTour(T), StochTour(t) or Sequential(ordered/unordered)
--nbOffspring=\OFF_SIZE # -O : Nb of offspring (percentage or absolute)
--replacement=General # Type of replacement: Generational, ESComma, ESPlus, SSGA(T), EP(T)

######    Evolution Engine / Replacement    ######
--elite=\ELITE_SIZE  # Nb of elite parents (percentage or absolute)
--eliteType=\ELITISM # Strong (true) or weak (false) elitism (set elite to 0 for none)
--surviveParents=\SURV_PAR_SIZE # Nb of surviving parents (percentage or absolute)
--reduceParents=\RED_PAR\RED_PAR_PRM # Parents reducer: Deterministic, EP(T), DetTour(T), StochTour(t), Uniform
--surviveOffspring=\SURV_OFF_SIZE  # Nb of surviving offspring (percentage or absolute)
--reduceOffspring=\RED_OFF\RED_OFF_PRM # Offspring reducer: Deterministic, EP(T), DetTour(T), StochTour(t), Uniform
--reduceFinal=\RED_FINAL\RED_FINAL_PRM # Final reducer: Deterministic, EP(T), DetTour(T), StochTour(t), Uniform

######    Output    ######
# --useEval=1 # Use nb of eval. as counter (vs nb of gen.)
# --useTime=1 # Display time (s) every generation
# --printBestStat=1 # Print Best/avg/stdev every gen.
# --printPop=0 # Print sorted pop. every gen.

######    Output - Disk    ######
# --resDir=Res # Directory to store DISK outputs
# --eraseDir=1 # erase files in dirName if any
# --fileBestStat=0 # Output bes/avg/std to file

######    Output - Graphical    ######
# --plotBestStat=0 # Plot Best/avg Stat
# --plotHisto=0 # Plot histogram of fitnesses

######    Persistence    ######
# --Load= # -L : A save file to restart from
# --recomputeFitness=0 # -r : Recompute the fitness after re-loading the pop.?
# --saveFrequency=0 # Save every F generation (0 = only final state, absent = never)
# --saveTimeInterval=0 # Save every T seconds (0 or absent = never)
# --status=OneMaxGenomeEA.status # Status file

######    Stopping criterion    ######
# --maxGen=100 # -G : Maximum number of generations () = none)
# --steadyGen=100 # -s : Number of generations with no improvement
# --minGen=0 # -g : Minimum number of generations
# --maxEval=0 # -E : Maximum number of evaluations (0 = none)
# --targetFitness=0 # -T : Stop when fitness reaches
# --CtrlC=0 # -C : Terminate current generation upon Ctrl C

######    Variation Operators    ######
# --cross1Rate=1 # -1 : Relative rate for crossover 1
# --mut1Rate=1 # -1 : Relative rate for mutation 1
--pCross=\XOVER_PROB # -C : Probability of Crossover
--pMut=\MUT_PROB # -M : Probability of Mutation

\START_EO_MAKEFILE_TPL#*************************************
#
#  EASEA.mak
#
#  Makefile generated by AESAE-EO v0.7
#
#*************************************

# sample makefile for building an EA evolving a new genotype

DIR_EO = \EO_DIR

.cpp: ; c++  -DPACKAGE=\"eo\" -I. -I$(DIR_EO)/src -Wall -g  -o $@  $*.cpp $(DIR_EO)/src/libeo.a $(DIR_EO)/src/utils/libeoutils.a

.cpp.o: ; c++ -DPACKAGE=\"eo\" -I. -I\EO_DIR/src -Wall -g -c $*.cpp

LIB_EO = $(DIR_EO)/src/utils/libeoutils.a $(DIR_EO)/src/libeo.a

SOURCES = EASEA.cpp \
  EASEAEvalFunc.h \
  EASEAGenome.h \
  EASEAInit.h \
  EASEAMutation.h \
  EASEAQuadCrossover.h \
  $(LIB_EO)

ALL = EASEA

EASEA : $(SOURCES)
	c++ -g -I. -I$(DIR_EO)/src -o $@ EASEA.cpp $(LIB_EO) -lm

all : $(ALL)

clean : ; /bin/rm  *.o $(ALL)

\TEMPLATE_END

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美日韩亚洲综合一区二区三区 | 国产精品久久久久久久久免费樱桃| 91成人在线免费观看| 99re成人在线| 97精品久久久午夜一区二区三区| 成人中文字幕在线| 成人免费看视频| a级高清视频欧美日韩| jlzzjlzz国产精品久久| 色噜噜狠狠色综合中国| 在线影院国内精品| 欧美日韩精品欧美日韩精品一综合 | 9l国产精品久久久久麻豆| 国产精品一区2区| 成人精品视频一区| 色综合欧美在线视频区| 精品视频免费在线| 日韩欧美三级在线| 国产午夜亚洲精品理论片色戒| 久久精品在这里| 亚洲日韩欧美一区二区在线| 亚洲女爱视频在线| 午夜精品久久久久久久久| 麻豆极品一区二区三区| 国产精品一二一区| 一本大道av一区二区在线播放| 欧美色视频在线| 精品少妇一区二区三区免费观看| 国产欧美一区二区精品性 | 东方欧美亚洲色图在线| 91日韩精品一区| 91精品国产一区二区| 久久精品一区四区| 亚洲综合成人网| 免费成人在线网站| 波多野结衣中文字幕一区| 欧洲在线/亚洲| 精品久久久久久久人人人人传媒| 国产精品嫩草影院av蜜臀| 亚洲最新在线观看| 激情综合五月天| 99re热视频这里只精品| 日韩一区二区三区在线视频| 国产精品欧美一级免费| 午夜精品久久久久久久99樱桃| 国产精品自在欧美一区| 欧美亚洲高清一区| 久久久久久久综合色一本| 亚洲影视在线观看| 国产伦精品一区二区三区免费迷| 日本乱人伦aⅴ精品| 26uuu欧美| 亚洲动漫第一页| 丰满白嫩尤物一区二区| 欧美高清精品3d| 亚洲欧洲综合另类| 国产美女在线精品| 欧美美女一区二区三区| 国产精品三级av| 久久精品国产亚洲高清剧情介绍| 色综合一个色综合亚洲| 久久九九影视网| 日韩精品国产精品| 91成人国产精品| 国产精品视频你懂的| 麻豆精品新av中文字幕| 色噜噜狠狠色综合中国| 欧美国产成人精品| 精品一区二区三区在线播放视频 | 欧美草草影院在线视频| 亚洲综合丝袜美腿| 94色蜜桃网一区二区三区| 26uuu国产在线精品一区二区| 亚洲国产精品久久不卡毛片 | av资源网一区| 久久精品这里都是精品| 蜜臀av性久久久久蜜臀aⅴ四虎| 91福利精品视频| 日韩美女久久久| 国产成人激情av| 欧美大片一区二区| 日本欧美在线观看| 欧美午夜精品一区二区蜜桃| 中文字幕在线视频一区| 国产成人在线看| 久久久影视传媒| 美女视频网站黄色亚洲| 欧美日韩国产系列| 一区二区三区在线高清| 大胆欧美人体老妇| 国产午夜精品久久| 国产精品系列在线观看| 久久色在线观看| 国产毛片一区二区| 久久久亚洲高清| 国产大陆亚洲精品国产| 自拍偷自拍亚洲精品播放| 一道本成人在线| 日韩av电影天堂| 555www色欧美视频| 午夜精品爽啪视频| 欧美肥妇bbw| 日本午夜一本久久久综合| 欧美日韩国产片| 日韩综合小视频| 欧美久久久久久蜜桃| 日韩成人精品在线观看| 欧美一区二区精品在线| 日韩av中文字幕一区二区 | 国产精品国产成人国产三级 | 欧美自拍丝袜亚洲| 亚洲另类春色国产| 91搞黄在线观看| 午夜精品久久久久久不卡8050| 7777女厕盗摄久久久| 美女www一区二区| 久久综合狠狠综合久久激情 | 欧美精品一区二区久久婷婷| 国内精品伊人久久久久av一坑| 久久日韩粉嫩一区二区三区| 国产成人h网站| 亚洲人精品午夜| 精品1区2区3区| 久久69国产一区二区蜜臀| 欧美激情一区在线观看| 91色综合久久久久婷婷| 亚洲成人一二三| 欧美精品一区二区三区高清aⅴ | 夜夜嗨av一区二区三区网页| 欧美日韩精品一区二区三区蜜桃 | 欧美剧情电影在线观看完整版免费励志电影 | 欧美高清在线精品一区| 91丨porny丨蝌蚪视频| 亚洲午夜日本在线观看| 欧美一区二区三区在线视频| 国产一区高清在线| 亚洲乱码国产乱码精品精可以看 | 欧美中文字幕亚洲一区二区va在线| 午夜一区二区三区视频| 久久综合狠狠综合久久激情| 99久久精品费精品国产一区二区| 亚洲国产精品人人做人人爽| 26uuu亚洲综合色| 91久久精品网| 国产一区久久久| 亚洲一二三四区| 久久久综合精品| 欧美日韩mp4| 成人综合在线观看| 日产欧产美韩系列久久99| 国产精品欧美一区喷水| 6080日韩午夜伦伦午夜伦| 成人免费视频app| 麻豆免费精品视频| 夜夜夜精品看看| 中文字幕国产精品一区二区| 7777精品伊人久久久大香线蕉经典版下载 | 亚洲久草在线视频| 欧美电影免费观看高清完整版在 | 亚洲妇熟xx妇色黄| 国产色产综合产在线视频| 欧美人xxxx| 99精品视频在线免费观看| 美国十次综合导航| 亚洲黄色在线视频| 国产亚洲视频系列| 欧美一区二区福利视频| 99久久久无码国产精品| 久久国产精品72免费观看| 一区二区三区欧美| 欧美高清在线一区| 日韩欧美一区二区三区在线| 91福利精品视频| jvid福利写真一区二区三区| 久久99精品一区二区三区三区| 亚洲成人动漫一区| 亚洲狠狠丁香婷婷综合久久久| 久久久久久麻豆| 精品久久久久一区二区国产| 在线中文字幕一区二区| jizz一区二区| 成人性生交大片免费| 国产一区不卡视频| 激情综合色综合久久综合| 午夜国产精品一区| 亚洲图片欧美视频| 一区二区三区成人在线视频| 国产精品久久午夜夜伦鲁鲁| 精品盗摄一区二区三区| 欧美一区二区三区四区久久| 欧美调教femdomvk| 欧美色图片你懂的| 欧美亚洲动漫制服丝袜| 欧洲一区二区三区在线| 99精品热视频| caoporn国产精品| 粉嫩aⅴ一区二区三区四区| 国产激情一区二区三区| 国产精品一二三区| 国产精选一区二区三区|