多目標遺傳算法程序 to run Demo files, is to run SGALAB_demo_*.m what s new: 1) Multiple-Objective GAs VEGA NSGA NPGA MOGA 2) More TSP mutation and Crossover methods PMX OX CX EAX Boolmatrix 3) More selection methods Truncation tornament stochastic 4) mutation methods binary single point int/real single point 5) encoding/decoding methods binary integer/real messy gray DNA permuation to fix the plot bugs for 4001 , download this file and replace old files.
標簽: Multiple-Objective SGALAB_demo run files
上傳時間: 2013-12-21
上傳用戶:mhp0114
詞法分析器 對輸入一個函數,并對其分析main() { int a,b a = 10 b = a + 20 }
上傳時間: 2013-12-20
上傳用戶:hfmm633
16位A/D轉換程序,使用MAX+PLUS2做的,用狀態機做的,但不夠完善,望大家見諒
上傳時間: 2016-07-23
上傳用戶:趙云興
基于某一文件創建一個輸入流,然后基于某一文件創建一個輸出流,定義一個int類型的變量,用來記錄讀出的字節個數,將輸入流中的信息寫入字節數組中,使用輸出流的方法,將數組中的信息寫入文件中
標簽: 輸入
上傳時間: 2014-01-04
上傳用戶:lwwhust
編寫一個冒泡排序的模板,并利用它分別對int型和字符數據進行排序
上傳時間: 2016-08-03
上傳用戶:R50974
The task of clustering Web sessions is to group Web sessions based on similarity and consists of maximizing the intra- group similarity while minimizing the inter-group similarity. The first and foremost question needed to be considered in clustering W b sessions is how to measure the similarity between Web sessions.However.there are many shortcomings in traditiona1 measurements.This paper introduces a new method for measuring similarities between Web pages that takes into account not only the URL but also the viewing time of the visited web page.Yhen we give a new method to measure the similarity of Web sessions using sequence alignment and the similarity of W eb page access in detail Experiments have proved that our method is valid and e幣cient.
標簽: sessions clustering similarity Web
上傳時間: 2014-01-11
上傳用戶:songrui
LCS,即最常公共子序列的的C語言解法。prepare_for_backdate(char,char,int,int)函數是為后面的回溯法求得最長公共子序列做準備,并可得到子序列長度。lcs(char,int,int)函數是輸出子序列的。并用到了第一個函數的結果。因為要得到最終的子序列,要知道那些地方是可輸出的位置,因此構造數組b[][],當為1時表明當前位置匹配,可輸出,為2時需要往上回溯,為3時需要往左回溯,直到找到下一個為1的位置。而c[][]數組是保存找子序列過程中匹配位數。
標簽: prepare_for_backdate char LCS C語言
上傳時間: 2014-01-11
上傳用戶:yuchunhai1990
操作系統課程設計_進程調度演示源程序 #include "stdio.h" #include "stdlib.h" #include "string.h" typedef struct node { char name[10] /*進程標識符*/ int prio /*進程優先數*/ int round /*進程時間輪轉時間片*/ int cputime /*進程占用CPU時間*/ int needtime /*進程到完成還要的時間*/ int count /*計數器*/ char state /*進程的狀態*/ struct node *next /*鏈指針*/ }PCB
標簽: include typedef stdlib string
上傳時間: 2016-08-09
上傳用戶:鳳臨西北
用多線程同步方法解決讀者閱覽問題 1) 每個讀者進入閱覽室后,即時顯示“Entered” 及其線程自定義標識,還同時顯示閱覽室共有幾名顧客及其所坐的位置。 2) 至少有10個讀者,每人閱覽至少3秒鐘。 3) 多個讀者須共享操作函數代碼。 2總的設計思想及系統平臺、語言、工具: 設計思想:程序設定的是10個讀者和5個座位,對讀者進行編號,依次進入閱覽室讀書,為每一座位列一表目,包括座號和讀者號等,讀者離開時要登出,即消掉登記的信息。 系統平臺:LINUX 語言:C語言 工具:vi編輯器、gcc編譯器 操作系統:linux操作系統 調試工具:edit、masm、link、debug. 3數據結構與模塊說明(功能與流程圖) 數據結構 int count=0 //記錄閱覽室讀者數量 sem_t full //定義閱覽室座位信號量 int seat[5] //用數組表示座位 pthread_t reader[10] //定義讀者線程 pthread_mutex_t mutex //定義互斥量 3.2功能說明 可以標識讀者,隨機為讀者設置在閱覽室的讀書時間 可以顯示閱覽室讀者的人數 可以顯示讀者所坐的位置,座位狀態以及列出空座位
標簽: 多線程同步
上傳時間: 2016-08-10
上傳用戶:zsjzc
在LP2900工作平臺上,利用MAX+plusII開發軟件,設計各個模塊編程實現基本模型計算機,其中最主要的是CPU的設計。 獨立完成運算器的設計,并下載仿真
上傳時間: 2014-12-22
上傳用戶:15071087253