-
简单的java并行枚举排序
资源描述java 实现并行的枚举排序 通过 runnable 接口来完成 程序中 只用了两个线程 分配完成整个 排序过程 最后算出加速比 同时也有串行的排序过程 最后也有加速比作为比较 体现出 多线程的优势 为了让差距明显 程序中 排序数组大小为10w 所以 请耐心等待结果。
- 2022-03-19 06:39:57下载
- 积分:1
-
小游戏五子棋大战
class LNode{
private int row;
private int col;
private Color chessColor;
private LNode next;
public LNode(int row,int col,Color chessColor){
this.row=row;
this.col=col;
this.chessColor=chessColor;
}
public LNode(){
this.next=null;
}
public void setRow(int row){
this.row=row;
}
public int getRow(){
return this.row;
}
public void setCol(int col){
this.col=col;
}
public int getCol(){
return this.col;
}
public void setChessColor(Color chessColor){
this.chessColor=chessColor;
}
public Color getChessColor(){
return this.chessColor;
}
public void setNext(LNode next){
this.next=next;
}
public LNode getNext(){
return this.next;
}
}
class NullAndCount{
private int nullCount=0;
private int chessCount=0;
public void setNullCount(int nullCount){
this.nullCount=nullCount;
}
public int getNullCount(){
return this.nullCount;
}
public void setChessCoun
- 2022-05-08 02:47:07下载
- 积分:1
-
java Edit chat room
java Edit chatroom kaifa凡客萨林甲氟喹辣嫂甲氟喹lasjkfaslkjfklsadjf地鼠机昂科雷缝机kldjfklsadjfkasl
- 2022-02-22 03:49:46下载
- 积分:1
-
java操作文件工具类
java操作文件工具类
- 2022-03-14 06:17:58下载
- 积分:1
-
Recommended Exercise 2
A debugger is a powerful tool that professional software developers rely on to locate errors in programs. The ability to view the contents of variables at various points in a program"s execution is a typical feature of debuggers. This feature makes a debugger especially useful when locating errors relating to the use of pointers.
- 2022-02-07 14:54:40下载
- 积分:1
-
home automation
现代
- 2022-04-07 01:22:19下载
- 积分:1
-
蚁群优化
蚁群想法是利用蚂蚁的自组织原则,使他们帮助解决了计算problems.ACO是基于蚂蚁的觅食行为殖民地和目标的优化问题。这是由步道铺设步道下进行蚂蚁,由此蚂蚁被审判或化学用另一只蚂蚁留下影响的行为。它使用基于它的分布式集体学习和决策的决策策略。它发现在路径一些具体根据实验观察等周边蚂蚁的觅食行为约束条件,从而选择连接最少的可能的路径中的最短路径源和目的地。
- 2022-07-26 12:10:52下载
- 积分:1
-
图片相似度
基于java的图片相似度的计算。图像处理之相似图片识别(直方图应用篇)算法概述:首先对源图像与要筛选的图像进行直方图数据采集,对采集的各自图像直方图进行归一化再使用巴氏系数算法对直方图数据进行计算,最终得出图像相似度值,其值范围在[0, 1]之间0表示极其不同,1表示极其相似(相同)。
- 2022-03-17 21:21:03下载
- 积分:1
-
java超市收银
Java超市管理,SQL2000+源代码,考验编程者用户界面及数据库操作相关知识,不错的教学范例,大家有刚学Java的,不妨好好学习一下。
- 2022-05-30 10:02:04下载
- 积分:1
-
JSP车辆管理系统
这是一个JSP的车辆管理系统 系统名字可以看出功能比较简单 无外乎车辆进库 出库 缴费 车库车位等车辆管理项目 没有过多的说明 文件也比较小
- 2023-06-17 03:55:04下载
- 积分:1