搜索资源列表
存储管理源代码
- 分区式存储管理源代码 一、可变分区存储管理的基本策略 1)不预先划分几个固定分区,分区的建立是在作业的处理过程中进行的,各分区的大小由作业的空间需求量决定。 2)采用指针方式将各个空闲分区链接而成的链表,用以记录主存分配现状。 3)分配与回收算法按空闲分区链接方式的不同分类,有最佳、最坏、首次和下次适应四种算法。 二、程序模拟的设计 1、基本思想 采用事件驱动模型。事件有: 1)申请主存事件,表示一个作业创建时提出的主存资源要求; 2)释放主存事件,表示一个作
Mysplit
- 种子填充算法用来在封闭曲线形成的环中填充某中颜色,在这里我们只填充黑色。种子填充其实上是图形学中的算法,其原理是:准备一个堆栈,先将要填充的点push进堆栈中;以后,每pop出一个点,将该点涂成黑色,然后按左上右下的顺序查看它的四个相邻点,若为白(表示还没有填充),则将该邻点push进栈。一直循环,直到堆栈为空。此时,区域内所有的点都被涂成了黑色。这里,我们自己定义了一些堆栈的数据结构和操作,实现了堆栈的初始化、push、pop、判断是否为空、及析构。 -seed filling algorit
sort 实现几种典型排序方法
- 实现几种典型排序方法:a) Insertion Sort;b) Selection Sort;c) Bubble Sort;d) Rank Sort 分析算法的时间复杂度并测量其实际运行时间。-Order to achieve several typical methods: a) Insertion Sort b) Selection Sort c) Bubble Sort d) Rank Sort algorithm' s time complexity analysis and me
partial-difference-equation-method
- 使 用 说 明 本光碟中包含五个文件夹。 (1)视频剪辑:可供教学演示,其中,"two_cells"是采用改进的变分水平集方法,实现GAC模型图像分割的演化过程;"denoissing"是利用P_M方程,对图像平滑去噪的演化过程 "curve_linear_heat_flow"是利用FT实现的闭合曲线的线性热流演化过程。 (2)二值图像:其中的图像可供形态学图像处理实验用,也可通过提取对象的边界,供曲线演化实验使用。 (3)灰度图象和彩色图像:其中的图像,可以作为图像分
DOA_music
- 波达方向估计;MUSIC算法;改进MUSIC算法;修正MUSIC算法-Key words:Direction ofArrival(DOA)estimation;Multiple SignalClassification(MUSIC)algorithm;improved MUSIC algorithm;modified MUSIC algorithm
zywline
- 提供直线的三种算法;提供圆的算法;提供画任意圆弧的算法-Three algorithms to provide a straight line provide round algorithm provide painting arc arbitrary algorithm
calculator
- 用matlab图形界面实现的计算器,使用guide设计界面,用m文件实现运算的算法;须在matlab上运行;-Graphical interface implemented using matlab calculator, use the guide interface design, to achieve operation with the m file algorithm to run in matlab
MERGE-SORT
- 合并排序是建立在归并操作上的一种有效的排序算法。该算法是采用分治法(Divide and Conquer)的一个非常典型的应用。 合并排序法是将两个(或两个以上)有序表合并成一个新的有序表,即把待排序序列分为若干个子序列,每个子序列是有序的。然后再把有序子序列合并为整体有序序列。 将已有序的子序列合并,得到完全有序的序列;即先使每个子序列有序,再使子序列段间有序。若将两个有序表合并成一个有序表,称为2-路归并。合并排序也叫归并排序。-Merge Sort is an efficient sort
huffman
- 哈夫曼算法 实现的时候我们用vector<bool>记录每个char的编码;用map<char,vector<bool>>表示整个字典-huffman algorithm
Classical-programming-based-on-C
- 【CPP】经典编程900例(C语言),基于c语言的各种源代码,经典算法,系统调用,dos调用等,学习c语言的极品源码资料-Classical programming 900 cases (C), source code based on the C language; all kinds of classical algorithm, the method about system calls(DOS) learning C language source code of the need f
vrp
- 用matlab解决vrp问题,本程序为遗传算法解决基本VRP问题的例程。各供货点距离矩阵及遗传算法参数在VRP.M中给出。以路径长度作为遗传算法的适应度函数,约束函数通过在LEN中增加惩罚因子体现,本程序简便起见将不满足约束的直接加100;-Vrp matlab to solve the problem with the program for the genetic algorithm to solve the basic problem VRP routines. The delivery
kk
- 在n个城市间建立通信网络,需架设n-1条线路。求解如何以最低经济代价建设此通信网,这是一个最小生成树问题。要求:(1)利用普利姆算法求网的最小生成树;(2)输出生成树中各边及权值。-The n cities to establish communication between networks, the need to set up n-1 lines. How to solve this at the lowest economic cost of building communication
c
- 1》分解质因数的程序;2》看你的星座的程序:3》天干地支年的计算:4》大学生一门课的成绩(人大):5》求大学生一门课成绩的算法(武大);6》判断你胖不胖;7》查找n叶梅花数,你想要什么数呢?如:三叶梅花数;8》n个数排列的计算:-A decomposition of the quality factor of the program 2 look at your horoscope program: 3 attribution years of computing: 4 college
GA_SA.matlab
- 模拟退火算法和遗传算法,智能算法里面的两个重要算法思想;程序已经通过了测试,可直接运行;-Simulated annealing algorithm and genetic algorithms, intelligent algorithms inside two important algorithms thought the program has passed the test can be run directly
chapter1
- 采用免疫算法在MATLAB平台中进行物流中心选址分析,(The location of logistics center is analyzed by immune algorithm)
chapter4
- TSP是典型的NP完全问题,既其最坏情况下的时间复杂度随着问题规模的增大按指数方式增长,到目前为止还未找到一个多项式时间的有效算法。(TSP is a typical NP complete problem, and its worst-case time complexity increases exponentially as the problem size increases. So far, no polynomial time efficient algorithm has been
粒子群算法的寻优算法-非线性函数极值寻优
- 使用粒子群优化算法实现函数最优值的求解,并对参数进行优化。(The particle swarm optimization algorithm is used to solve the optimal value of the function, and the parameters are optimized.)
C_TraDaBoost
- 戴文渊---Boosting for Transfer Learning,TraDaBoost算法的源代码。(Dai Wenyuan ---Boosting for Transfer Learning, the source code of the TraDaBoost algorithm.)
Intelligent algorithm case 21-30
- 智能算法书籍的第20章到30章的源代码,关于智能算法,(Intelligent algorithms book chapters 20 to 30 source code, about intelligent algorithms.)
免疫优化算法在物流配送中心选址中的应用
- 免疫算法受生物免疫系统启发,是在免疫学理论基础上发展起来的一种新兴的智能计算算法(Immune algorithm, inspired by biological immune system, is a new intelligent algorithm developed on the basis of immunology theory.)