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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? tspconfiguration.java.svn-base

?? Traveling Salesman Problem Java Genetic Algorithm Solution, Hope all enjoy it.
?? SVN-BASE
字號:
/*
 * $Source: f:/cvs/prgm/tsp/src/org/saiko/ai/genetics/tsp/TSPConfiguration.java,v $
 * $Id: TSPConfiguration.java,v 1.3 2005/08/23 23:18:05 dsaiko Exp $
 * $Date: 2005/08/23 23:18:05 $
 * $Revision: 1.3 $
 * $Author: dsaiko $
 *
 * Traveling Salesman Problem genetic algorithm.
 * This source is released under GNU public licence agreement.
 * dusan@saiko.cz
 * http://www.saiko.cz/ai/tsp/
 * 
 * Change log:
 * $Log: TSPConfiguration.java,v $
 * Revision 1.3  2005/08/23 23:18:05  dsaiko
 * Finished.
 *
 * Revision 1.2  2005/08/22 22:08:51  dsaiko
 * Created engines with heuristics
 *
 * Revision 1.1  2005/08/12 23:52:17  dsaiko
 * Initial revision created
 *
 */

package org.saiko.ai.genetics.tsp;


/**
 * @author Dusan Saiko (dusan@saiko.cz)
 * Last change $Date: 2005/08/23 23:18:05 $
 * 
 * TSPConfiguration specifies the configuration parameters of the application
 */
public class TSPConfiguration {

   /** String containing the CVS revision. **/
   public final static String CVS_REVISION = "$Revision: 1.3 $";
   
   /**
    * Antialiasing flag for graphics rendering.
    * Slows the displaying quite a lot.
    */
   protected boolean antialiasing=false;

   /**
    * Initial population count which is set to the computation engine.
    */
   protected int initialPopulationSize=100;
   
   /**
    * Computation thread priority
    * @see Thread#setPriority(int)
    */
   protected int threadPriority=5;
   
   /**
    * Population growth between two generations.
    * This flag does not apply for all the engines.
    */
   protected double populationGrow=0.00075;
   
   /**
    * Ratio (0..1), how much the population should undergo random mutation 
    */
   protected double mutationRatio=0.5;
   
   /**
    * The count of generation which give the same best result after which the program should stop
    * computations; 
    */
   protected int maxBestCostAge=100;
   
   /**
    * flag that this computation should be done without GUI
    * @see TSP#main(String[]) 
    */
   protected boolean console=false;
   
   /**
    * Should the cost be computed like square root of distance, instead of 
    * only distance itself ? This should prefer the solutions with short distances inside of it
    * e.g. distances 5 6 3 6 2 give total distance 22 
    *      distances 2 2 1 3 13 give total distance 21
    * but in rms the distance at first examle is 5*5+6*6+3*3+6*6+2*2 = 110
    * and second example rms distance is 187.
    */
   protected boolean rmsCost=false;
   
   /**
    * @return antialiasing flag for graphics rendering. Slows the displaying quite a lot.
    */
   public boolean isAntialiasing() {
      return antialiasing;
   }
   
   /**
    * @param antialiasing Antialiasing flag for graphics rendering. Slows the displaying quite a lot.
    */
   public void setAntialiasing(boolean antialiasing) {
      this.antialiasing=antialiasing;
   }
   
   /**
    * @return initial population count which is set to the computation engine.
    */
   public int getInitialPopulationSize() {
      return initialPopulationSize;
   }
   
   /**
    * @param initialPopulationSize Initial population count which is set to the computation engine.
    */
   public void setInitialPopulationSize(int initialPopulationSize) {
      this.initialPopulationSize=initialPopulationSize;
   }
   
   /**
    * @return Returns the maxBestCostAge.
    */
   public int getMaxBestCostAge() {
      return maxBestCostAge;
   }
   
   /**
    * @param maxBestCostAge The maxBestCostAge to set.
    */
   public void setMaxBestCostAge(int maxBestCostAge) {
      this.maxBestCostAge=maxBestCostAge;
   }
   
   /**
    * @return ratio (0..1), how much the population should undergo random mutation 
    */
   public double getMutationRatio() {
      return mutationRatio;
   }
   
   /**
    * @param mutationRatio Ratio (0..1), how much the population should undergo random mutation 
    */
   public void setMutationRatio(double mutationRatio) {
      this.mutationRatio=mutationRatio;
   }
   
   /**
    * @return Population growth between two generations.
    * This flag does not apply for all the engines.
    */
   public double getPopulationGrow() {
      return populationGrow;
   }
   
   /**
    * @param populationGrow Population growth between two generations.
    * This flag does not apply for all the engines.
    */
   public void setPopulationGrow(double populationGrow) {
      this.populationGrow=populationGrow;
   }
   
   /**
    * @return flag, id the cost should be computed like square root of distance, instead of 
    * only distance itself ? This should prefer the solutions with short distances inside of it
    * e.g. distances 5 6 3 6 2 give total distance 22 
    *      distances 2 2 1 3 13 give total distance 21
    * but in rms the distance at first examle is 5*5+6*6+3*3+6*6+2*2 = 110
    * and second example rms distance is 187.
    */
   public boolean isRmsCost() {
      return rmsCost;
   }
   
   /**
    * @param rmsCost Flag, id the cost should be computed like square root of distance, instead of 
    * only distance itself ? This should prefer the solutions with short distances inside of it
    * e.g. distances 5 6 3 6 2 give total distance 22 
    *      distances 2 2 1 3 13 give total distance 21
    * but in rms the distance at first examle is 5*5+6*6+3*3+6*6+2*2 = 110
    * and second example rms distance is 187.
    */
   public void setRmsCost(boolean rmsCost) {
      this.rmsCost=rmsCost;
   }
   
   /**
    * @return computation thread priority
    * @see Thread#setPriority(int)

    */
   public int getThreadPriority() {
      return threadPriority;
   }
   
   /**
    * @param threadPriority Computation thread priority
    * @see Thread#setPriority(int)
    */
   public void setThreadPriority(int threadPriority) {
      this.threadPriority=threadPriority;
   }

   
}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91成人国产精品| 视频在线观看国产精品| 亚洲午夜在线电影| 国产精品久久久久影院色老大| 欧美电影免费观看高清完整版在 | 久久精品亚洲精品国产欧美kt∨ | 国产一区二区久久| 国产一区二区精品久久99| 麻豆久久久久久| 精品一区二区三区在线观看| 捆绑调教一区二区三区| 久久99精品国产| 国产成人h网站| 99久久综合国产精品| 91黄视频在线观看| 欧美日本一道本| 日韩精品一区二区在线| 国产三区在线成人av| 国产精品久线在线观看| 亚洲欧洲综合另类| 日韩精品一级二级| 国产精品综合一区二区三区| 成人免费电影视频| 色婷婷av一区二区三区gif| 欧美无乱码久久久免费午夜一区 | 久久综合成人精品亚洲另类欧美| 国产精品久久久久影院老司| 国产日韩综合av| 亚洲男女一区二区三区| 日韩在线播放一区二区| 久久97超碰国产精品超碰| 国产成人av一区二区三区在线观看| 丰满白嫩尤物一区二区| 91麻豆免费看| 精品女同一区二区| 一区在线播放视频| 免费久久精品视频| av激情综合网| 日韩欧美精品在线| 亚洲欧洲日产国产综合网| 午夜欧美在线一二页| 成人免费黄色大片| 欧美老肥妇做.爰bbww视频| xnxx国产精品| 天天亚洲美女在线视频| 高清国产一区二区| 51久久夜色精品国产麻豆| 国产精品天美传媒| 日本一区中文字幕| 欧美在线免费观看视频| 国产欧美日韩在线视频| 亚洲va中文字幕| a级高清视频欧美日韩| 欧美不卡在线视频| 亚洲福利一区二区三区| 成人免费毛片嘿嘿连载视频| 日韩视频在线永久播放| 亚洲国产一区在线观看| 91日韩在线专区| 国产女人aaa级久久久级 | 精品国产凹凸成av人导航| 亚洲一级二级在线| 91在线播放网址| 亚洲国产成人自拍| 精品综合久久久久久8888| 欧美一区二区在线播放| 亚洲小说欧美激情另类| 一本在线高清不卡dvd| 国产精品久久久久一区| 国产成人在线影院| 亚洲精品一区二区三区影院| 九九在线精品视频| 精品精品欲导航| 久久国产精品无码网站| 欧美一区二区在线播放| 青青草97国产精品免费观看无弹窗版| 在线观看91视频| 亚洲高清免费观看 | 免费在线观看精品| 欧美日韩大陆一区二区| 亚洲成av人片在线观看无码| 欧美伊人久久大香线蕉综合69| 亚洲综合激情小说| 欧美美女网站色| 蜜桃视频一区二区三区在线观看| 51精品久久久久久久蜜臀| 午夜精品久久久| 日韩三级高清在线| 韩国欧美国产一区| 国产偷v国产偷v亚洲高清| 懂色av一区二区夜夜嗨| 亚洲欧美区自拍先锋| 在线观看免费一区| 天天色综合成人网| 久久综合九色综合久久久精品综合| 国产精品亚洲人在线观看| 中文字幕一区在线观看| 欧美日韩你懂得| 国内不卡的二区三区中文字幕| 久久人人超碰精品| 色诱视频网站一区| 日本免费在线视频不卡一不卡二| 亚洲精品在线一区二区| 99re成人精品视频| 三级成人在线视频| 久久久久久久精| 在线观看国产日韩| 国内精品写真在线观看| 国产精品护士白丝一区av| 欧美视频一二三区| 国产精品1区2区3区在线观看| 亚洲激情在线激情| 日韩欧美国产不卡| 色伊人久久综合中文字幕| 日韩电影在线观看一区| 欧美激情一区二区三区在线| 欧美三级中文字幕| 成人高清在线视频| 秋霞成人午夜伦在线观看| 国产精品国产自产拍在线| 91精品国产综合久久精品图片| 国产成人啪午夜精品网站男同| 亚洲五月六月丁香激情| 日本一区二区免费在线观看视频| 欧美日韩一区二区三区在线| 成人一级黄色片| 久久精品国产一区二区| 亚洲国产视频在线| 中文字幕一区免费在线观看| 久久久蜜桃精品| 欧美男人的天堂一二区| 91在线精品一区二区| 国产一区二区三区四区在线观看 | 欧美日本高清视频在线观看| 波多野结衣在线一区| 精一区二区三区| 日韩不卡一二三区| 亚洲r级在线视频| 亚洲美女偷拍久久| 国产精品乱码妇女bbbb| 久久久青草青青国产亚洲免观| 欧美一区二视频| 欧美电影影音先锋| 欧美日韩高清一区二区不卡| 欧美午夜精品久久久久久超碰| 91美女福利视频| 99久久精品99国产精品| 成人综合婷婷国产精品久久免费| 麻豆国产精品777777在线| 日韩中文欧美在线| 午夜精品久久久久久久久久久| 亚洲国产aⅴ天堂久久| 亚洲一区二区三区中文字幕 | 日韩三级高清在线| 日韩一区二区三区电影| 91精品国产91久久综合桃花| 日韩一区二区视频在线观看| 欧美精品日韩一区| 7777精品久久久大香线蕉| 欧美日本国产视频| 欧美一级欧美三级在线观看| 日韩一级高清毛片| 精品国产区一区| 26uuu欧美| 国产精品网友自拍| 中文字幕二三区不卡| 国产精品久久久久久亚洲毛片| 日本一二三不卡| 亚洲免费av在线| 亚洲第一成人在线| 久久99深爱久久99精品| 国产一区二区不卡| 99久久国产免费看| 欧美在线视频全部完| 日韩欧美国产一区二区在线播放| www久久久久| 亚洲日本护士毛茸茸| 视频一区二区三区中文字幕| 久久精品国产久精国产| 成人午夜在线免费| 色吊一区二区三区| 欧美一区三区二区| 国产精品久久国产精麻豆99网站| 亚洲国产欧美在线人成| 国内精品伊人久久久久av影院| eeuss鲁一区二区三区| 欧美情侣在线播放| 国产精品免费久久| 亚洲黄色免费电影| 日韩午夜三级在线| 亚洲日本欧美天堂| 成人午夜免费电影| 国产一区二区影院| 91女厕偷拍女厕偷拍高清| 欧美日韩精品欧美日韩精品一综合| 91精品国产综合久久蜜臀 | 久久国产视频网| 97久久精品人人爽人人爽蜜臀| 欧美精品丝袜久久久中文字幕| 国产网红主播福利一区二区|