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

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

?? userdefinables.cpp

字號(hào):
	exit(1);      }      if ((pToken = strtok(NULL, BLANK_STR)) == NULL) {	printf("Using default scaling of 1 for fitness sharing\n");	((double*)(globalSetup->nichingParameters))[1] = 1.0;      }      else 	((double*)(globalSetup->nichingParameters))[1] = atof(pToken);    }    break;  case RTS:    {      globalSetup->nichingParameters = new int[1];            if ((pToken = strtok(NULL, BLANK_STR)) == NULL) {	printf("Setting the window size for RTS using default rule: w = min(ell, n/20)\n");	if(globalSetup->noOfDecisionVariables < (globalSetup->populationSize/20)) 	  ((int*)(globalSetup->nichingParameters))[0] = globalSetup->noOfDecisionVariables;	else	   ((int*)(globalSetup->nichingParameters))[0] = (globalSetup->populationSize)/20;	//Adjust for small problem sizes: w = n/20;	if(globalSetup->noOfDecisionVariables < 20) 	  ((int*)(globalSetup->nichingParameters))[0] = (globalSetup->populationSize)/20;	//Check if the window size is greater than the population size	if(((int*)globalSetup->nichingParameters)[0] > globalSetup->populationSize)	  ((int*)(globalSetup->nichingParameters))[0] = globalSetup->populationSize;	printf("The window size used for RTR is: %d\n", ((int*)globalSetup->nichingParameters)[0]);       }      else	((int*)(globalSetup->nichingParameters))[0] = atoi(pToken);            // the window size should be in (0, populationSize]      if ((((int*)globalSetup->nichingParameters)[0] <= 0) || (((int*)globalSetup->nichingParameters)[0] > globalSetup->populationSize)) {	fclose(fInput);	printf("Error! window size for RTR should be > 0 and less than the population size\n");	exit(1);      }    }    break;  default:    {	fclose(fInput);	printf("Error! valid choices for niching type are: NoNiching, Sharing, RTS, and DeterministicCrowding\n");	exit(1);    }    break;  }    // selection  if ((pToken = readOneLine(caBuf, ciBufSize, fInput)) == NULL) {    fclose(fInput);    printf("Error in the input file, please refer to the documentation\n");    exit(1);  }  if(strcmp("default", pToken) == 0) {    printf("Using tournament selection w/o replacement as a default selection method\n");    globalSetup->selectionType = TournamentWOR;  }  // selection type  else if (strcmp("TournamentWOR", pToken) == 0) {    globalSetup->selectionType = TournamentWOR;  }  else if (strcmp("SUS", pToken) == 0) {    globalSetup->selectionType = SUS;  }  else if (strcmp("Truncation", pToken) == 0) {    globalSetup->selectionType = Truncation;  }  else if (strcmp("RouletteWheel", pToken) == 0) {    globalSetup->selectionType = RouletteWheel;  }  else if (strcmp("TournamentWR", pToken) == 0) {    globalSetup->selectionType = TournamentWR;  }  else {    fclose(fInput);    printf("Error! valid selection methods are: RouletteWheel, SUS, TournamentWOR, TournamentWR, and Truncation\n");    exit(1);  }    // check selection type  if ((globalSetup->gaType == NSGA) && ((globalSetup->selectionType == SUS) || (globalSetup->selectionType == RouletteWheel))) {    fclose(fInput);    printf("Error! with NSGA, valid selection methods are: TournamentWOR, TournamentWR, and Truncation\n");    exit(1);  }  // read selection parameters  switch(globalSetup->selectionType) {  case TournamentWOR:  case Truncation:  case TournamentWR:    {      globalSetup->selectionParameters = new int[1];            if ((pToken = strtok(NULL, BLANK_STR)) == NULL) {	printf("Using default tournament size of 2\n");	((int*)globalSetup->selectionParameters)[0] = 2;      }      else	((int*)globalSetup->selectionParameters)[0] = atoi(pToken);    }    break;  case SUS:  case RouletteWheel:    // no extra parameters    break;  default:    {      fclose(fInput);      printf("Error! invalid selection parameter\n");      exit(1);    }    break;  }    // Crossover  // crossover probability  if ((pToken = readOneLine(caBuf, ciBufSize, fInput)) == NULL) {    fclose(fInput);    printf("Error in the input file, please refer to the documentation\n");    exit(1);  }  if(strcmp("default", pToken) == 0) {    printf("Using a default crossover probability of 0.9\n");    globalSetup->xOverProbability = 0.9;  }  // the number should be [0.0, 1.0]  else if (((globalSetup->xOverProbability = atof(pToken)) < 0.0) || (globalSetup->xOverProbability > 1.0)) {    fclose(fInput);    printf("Error! crossover probability must be >= 0.0 and <= 1.0\n");    exit(1);  }  // crossover type  if ((pToken = readOneLine(caBuf, ciBufSize, fInput)) == NULL) {    fclose(fInput);    printf("Error in the input file, please refer to the documentation\n");    exit(1);  }  if(strcmp("default", pToken) == 0) {    printf("Using SBX as the default crossover method. Note that this might be an inappropriate choice if your variables are binary\n");    globalSetup->xOverType = SBX;  }  else if (strcmp("OnePoint", pToken) == 0) {    globalSetup->xOverType = OnePoint;  }  else if (strcmp("TwoPoint", pToken) == 0) {    globalSetup->xOverType = TwoPoint;  }  else if (strcmp("Uniform", pToken) == 0) {    globalSetup->xOverType = Uniform;  }  else if (strcmp("SBX", pToken) == 0) {    globalSetup->xOverType = SBX;  }  else {    fclose(fInput);    printf("Error! valid crossover types are: OnePoint, TwoPoint, Uniform, and SBX\n");    exit(1);  }  // read crossover parameters  switch(globalSetup->xOverType) {  case OnePoint:  case TwoPoint:    //no extra parameters    break;  case Uniform:    {      globalSetup->xOverParameters = new double[1];      if ((pToken = strtok(NULL, BLANK_STR)) == NULL) {	printf("Using default genewise swap probability of 0.5\n");	((double*)globalSetup->xOverParameters)[0] = 0.5;      }      else	((double*)globalSetup->xOverParameters)[0] = atof(pToken);      if((((double*)globalSetup->xOverParameters)[0] <= 0.0)||(((double*)globalSetup->xOverParameters)[0] >= 1.0)) {	fclose(fInput);	printf("Genewise probability must be > 0.0 and < 1.0\n");	exit(1);      }    }  case SBX:    {      globalSetup->xOverParameters = new double[2];            if ((pToken = strtok(NULL, BLANK_STR)) == NULL) {	printf("Using default genewise swap probability of 0.5\n");	((double*)globalSetup->xOverParameters)[0] = 0.5;      }      else	((double*)globalSetup->xOverParameters)[0] = atof(pToken);      if((((double*)globalSetup->xOverParameters)[0] <= 0.0)||(((double*)globalSetup->xOverParameters)[0] >= 1.0)) {	fclose(fInput);	printf("Error! genewise probability must be > 0.0 and < 1.0\n");	exit(1);      }      if ((pToken = strtok(NULL, BLANK_STR)) == NULL) {	printf("Using default polynomial order for SBX: 10\n");	((double*)globalSetup->xOverParameters)[1] = 10;      }      else	((double*)globalSetup->xOverParameters)[1] = atof(pToken);      if(((double*)globalSetup->xOverParameters)[1] < 0.0) {	fclose(fInput);	printf("Error! genewise probability must be >= 0.0\n");	exit(1);      }    }    break;  default:    {      fclose(fInput);      printf("Error! invalid crossover parameter\n");      exit(1);    }    break;  }  // mutation  if ((pToken = readOneLine(caBuf, ciBufSize, fInput)) == NULL) {    fclose(fInput);    printf("Error in the input file, please refer to the documentation\n");    exit(1);  }  if(strcmp("default", pToken) == 0) {    printf("Using a default mutation probability of 0.1\n");    globalSetup->mutationProbability = 0.1;  }  // mutation probability  // the number should be [0.0, 1.0]  else if (((globalSetup->mutationProbability = atof(pToken)) < 0.0) || (globalSetup->mutationProbability > 1.0)) {    fclose(fInput);    printf("Error! mutation probability must be >= 0.0 and <= 1.0.\n");    exit(1);  }  // mutation type  if ((pToken = readOneLine(caBuf, ciBufSize, fInput)) == NULL) {    fclose(fInput);    printf("Error in the input file, please refer to the documentation\n");    exit(1);  }  if(strcmp("default", pToken) == 0) {    printf("Using Polynomial as the default mutation method. Note that this might be an inappropriate choice if your variables are binary\n");    globalSetup->mutationType = Polynomial;  }  else if (strcmp("Selective", pToken) == 0) {    globalSetup->mutationType = Selective;  }  else if (strcmp("Genewise", pToken) == 0) {    globalSetup->mutationType = Genewise;  }  else if (strcmp("Polynomial", pToken) == 0) {    globalSetup->mutationType = Polynomial;  }  else {    fclose(fInput);    printf("Error! valid mutation types are: Selective, Genewise, and Polynomial\n");    exit(1);  }  // read mutation parameters  switch(globalSetup->mutationType) {  case Selective:    // no extra parameters    break;  case Polynomial:    {      globalSetup->mutationParameters = new int[1];      if ((pToken = strtok(NULL, BLANK_STR)) == NULL) {	printf("Using a default value for the polynomial probability: 20\n");	((int*)globalSetup->mutationParameters)[0] = 20;      }      else	((int*)globalSetup->mutationParameters)[0] = atoi(pToken);      if(((int*)globalSetup->mutationParameters)[0] < 0) {	fclose(fInput);	printf("Error! polynomial order for polynomial mutation must be > 0\n");	exit(1);      }    }    break;  case Genewise:    {      globalSetup->mutationParameters = new double[globalSetup->noOfDecisionVariables];            for (ii = 0 ; ii < globalSetup->noOfDecisionVariables ; ii++) {	if ((pToken = strtok(NULL, BLANK_STR)) == NULL) {	  printf("Using default std. deviation of 10% of the variable range\n");	  ((double*)globalSetup->mutationParameters)[ii] = 0.1*(globalSetup->variableRanges[ii][1] - globalSetup->variableRanges[ii][0]);	}	else	  ((double*)globalSetup->mutationParameters)[ii] = atof(pToken);	if(((double*)globalSetup->mutationParameters)[ii] <= 0.0) {	  fclose(fInput);	  printf("Error! standard deviation for gene %d for genewise mutation must be > 0\n", ii);	  exit(1);	}      }    }    break;  default:    {      fclose(fInput);      printf("Error! invalid mutation parameter\n");      exit(1);    }    break;  }    // scaling method  if ((pToken = readOneLine(caBuf, ciBufSize, fInput)) == NULL) {    fclose(fInput);    printf("Error in the input file, please refer to the documentation\n");    exit(1);  }  if(strcmp("default", pToken) == 0) {    printf("Scaling is not used by default\n");    globalSetup->scalingMethod = NoScaling;  }  // scaling method  else if (strcmp("NoScaling", pToken) == 0) {    globalSetup->scalingMethod = NoScaling;  }  else if (strcmp("Ranking", pToken) == 0) {    globalSetup->scalingMethod = Ranking;  }  else if (strcmp("SigmaScaling", pToken) == 0) {    globalSetup->scalingMethod = SigmaScaling;  }  else {    fclose(fInput);    printf("Error! valid scaling methods are: NoScaling, Ranking, and SigmaScaling\n");    exit(1);  }  // read scaling parameters  switch(globalSetup->scalingMethod) {  case NoScaling:  case Ranking:    // no extra parameters    break;  case SigmaScaling:    {      globalSetup->scalingParameters = new double[1];            if ((pToken = strtok(NULL, BLANK_STR)) == NULL) {	((double*)globalSetup->scalingParameters)[0] = 1.0;      }      else	((double*)globalSetup->scalingParameters)[0] = atof(pToken);      if(((double*)globalSetup->scalingParameters)[0] <= 0.0) {	fclose(fInput);	printf("Error! scaling parameter for SigmaScaling must be > 0\n");	exit(1);      }    }    break;  default:    {      fclose(fInput);      printf("Error! invalid scaling parameter\n");      exit(1);    }    break;  }    // constraint method  if ((pToken = readOneLine(caBuf, ciBufSize, fInput)) == NULL) {    fclose(fInput);    printf("Error in the input file, please refer to the documentation\n");    exit(1);  }  if(strcmp("default", pToken) == 0) {    if(globalSetup->finalNoOfConstraints == 0) {      printf("Using no constraint handling method by default\n");      globalSetup->constraintMethod = NoConstraints;    }    else {      printf("Using tournament selection as the default constraint handling method\n");      globalSetup->constraintMethod = Tournament;    }  }  // constraint method  else if (strcmp("NoConstraints", pToken) == 0) {    globalSetup->constraintMethod = NoConstraints;  }  else if (strcmp("Penalty", pToken) == 0) {    globalSetup->constraintMethod = Penalty;  }  else if (strcmp("Tournament", pToken) == 0) {    globalSetup->constraintMethod = Tournament;  }  else {    fclose(fInput);    printf("Error! valid constraint handling methods are: NoConstraint, Penalty, and Tournament\n");    exit(1);  }  // check constraint method  if ((globalSetup->gaType == NSGA) && (globalSetup->constraintMethod == Penalty)) {    fclose(fInput);    printf("Error! penalty based constraint handling method cannot be used with NSGA\n");    exit(1);  }  if ((globalSetup->finalNoOfConstraints == 0) && (globalSetup->constraintMethod != NoConstraints)) {    fclose(fInput);    printf("Error! valid constraint-handling method when there are no constraints is NoConstraints\n");    exit(1);  }  // read penalty function  switch(globalSetup->constraintMethod) {

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
精品国产一二三| 久久色在线视频| 久久99国内精品| 久久久99久久| 成人福利视频网站| 午夜精品免费在线| 国产欧美一区二区三区在线看蜜臀| 国产精品系列在线播放| 亚洲综合色成人| 精品粉嫩aⅴ一区二区三区四区 | 国产精品国产三级国产aⅴ中文 | 中文字幕一区不卡| 欧美猛男超大videosgay| 精品无码三级在线观看视频| 国产精品久久久久影院亚瑟| 91精品一区二区三区久久久久久| 成人久久久精品乱码一区二区三区| 亚洲国产一二三| 国产欧美视频在线观看| 欧美情侣在线播放| 成人aaaa免费全部观看| 日韩成人dvd| 国产精品午夜在线| 欧美群妇大交群中文字幕| 懂色av一区二区夜夜嗨| 日韩电影在线观看电影| 依依成人精品视频| 国产人伦精品一区二区| 欧美一区欧美二区| 色综合色狠狠天天综合色| 国产盗摄视频一区二区三区| 日韩国产欧美在线播放| 亚洲精品成人少妇| 亚洲国产精品成人综合色在线婷婷 | 在线免费观看不卡av| 国产精品一二三四区| 免费的成人av| 偷拍一区二区三区| 一个色在线综合| 国产精品福利电影一区二区三区四区| 欧美成人三级在线| 欧美日韩国产综合一区二区| 一本久道久久综合中文字幕| www.亚洲色图.com| 欧美电影在哪看比较好| 91免费观看视频| 成人激情开心网| 国产v综合v亚洲欧| 国产成人精品午夜视频免费| 国产美女精品一区二区三区| 蜜臀av性久久久久av蜜臀妖精| 亚洲制服丝袜一区| 欧美韩日一区二区三区| 久久久久国产精品人| 在线精品视频一区二区三四| 在线视频一区二区三| 色婷婷香蕉在线一区二区| 国产在线播放一区| 国内成人精品2018免费看| 狠狠色伊人亚洲综合成人| 久久国产精品第一页| 韩国一区二区视频| 国产一区二区免费在线| 国产激情精品久久久第一区二区 | 天堂久久久久va久久久久| 亚洲成人综合网站| 91美女片黄在线| av在线播放一区二区三区| 国产一区二区0| 国产91高潮流白浆在线麻豆| 国产成人综合网站| 国产不卡视频在线播放| 国产在线一区二区| 国产高清久久久| av男人天堂一区| 不卡电影免费在线播放一区| 成人一区在线看| 国产不卡视频在线观看| 91原创在线视频| 欧美日韩免费高清一区色橹橹| 欧美精品1区2区| 日韩欧美自拍偷拍| 国产精品丝袜一区| 亚洲综合精品自拍| 麻豆成人久久精品二区三区红| 激情图片小说一区| 99精品国产91久久久久久 | 一区二区三区久久| 蜜臀久久99精品久久久久久9 | 3751色影院一区二区三区| 日韩一区二区视频在线观看| 26uuu欧美| 亚洲另类色综合网站| 日韩电影在线一区| 成人在线一区二区三区| 日韩精品一区二区三区蜜臀| 欧美日韩一区二区三区四区| 亚洲精品视频免费看| 亚洲午夜国产一区99re久久| 蜜桃91丨九色丨蝌蚪91桃色| 成人av高清在线| 欧美精品日韩一本| 中文字幕免费不卡| 亚州成人在线电影| 国产激情视频一区二区三区欧美| 色婷婷av久久久久久久| 欧美成人女星排行榜| 亚洲精品视频免费看| 国产综合久久久久影院| 色婷婷综合激情| 久久精品亚洲麻豆av一区二区| 亚洲精品成人精品456| 韩国av一区二区三区在线观看| 91婷婷韩国欧美一区二区| 欧美xxxxxxxx| 亚洲大尺度视频在线观看| 国产乱人伦偷精品视频不卡| 一本大道久久a久久综合婷婷| 精品国产人成亚洲区| 亚洲一区二区高清| 成人免费毛片高清视频| 欧美一区二区在线免费观看| 综合自拍亚洲综合图不卡区| 久久精品国产成人一区二区三区 | 欧美日韩的一区二区| 欧美国产乱子伦 | 国产精品夜夜爽| 91精品国产91久久久久久最新毛片| 1区2区3区精品视频| 久久99国内精品| 91麻豆精品国产91久久久使用方法 | 成人精品视频一区二区三区尤物| 555夜色666亚洲国产免| 日韩美女视频一区二区| 国产一区不卡视频| 欧美一区二区视频免费观看| 亚洲一线二线三线久久久| 99亚偷拍自图区亚洲| 国产午夜久久久久| 久久精品国产一区二区| 欧美喷水一区二区| 亚洲国产成人av| 欧美婷婷六月丁香综合色| 国产精品大尺度| 成人一级视频在线观看| 日韩西西人体444www| 五月婷婷久久综合| 欧美三级韩国三级日本三斤| 国产精品亚洲成人| 精品久久久久久久久久久久久久久久久 | 久久精品国产精品亚洲精品| 7777精品伊人久久久大香线蕉最新版| 亚洲一区二区偷拍精品| 欧美在线观看你懂的| 亚洲成人自拍一区| 日韩三级中文字幕| 精品一区二区三区视频在线观看| 国产视频一区在线播放| 99久久777色| 亚洲成人综合在线| 精品国产1区2区3区| 成熟亚洲日本毛茸茸凸凹| 亚洲人成网站精品片在线观看| 欧美午夜精品一区二区三区| 日本不卡一区二区| 国产日本一区二区| 95精品视频在线| 婷婷国产在线综合| 久久精品水蜜桃av综合天堂| 99久久精品国产网站| 三级影片在线观看欧美日韩一区二区| 精品成人免费观看| www.激情成人| 亚洲成人动漫精品| 国产无遮挡一区二区三区毛片日本| 91色在线porny| 麻豆成人av在线| 亚洲精品五月天| 日韩美一区二区三区| 99精品欧美一区二区蜜桃免费| 日韩中文字幕区一区有砖一区| 久久久久久99精品| 在线免费视频一区二区| 久久精品二区亚洲w码| 亚洲欧美综合色| 欧美videofree性高清杂交| 99久久免费精品| 蜜臀精品一区二区三区在线观看| 中文字幕欧美日韩一区| 欧美一区二区三区免费大片| 99久久国产综合精品麻豆| 日本aⅴ精品一区二区三区| 亚洲欧洲精品一区二区三区| 日韩精品一区二区三区视频在线观看| a级精品国产片在线观看| 蜜臀va亚洲va欧美va天堂| 亚洲男人天堂av网| 中文欧美字幕免费| 精品久久久久久综合日本欧美| 欧美影院精品一区|