Commit ccc0b961 authored by Elf's avatar Elf

csv第二次修改

parent 35fefb35
...@@ -79,7 +79,7 @@ public class DoMap { ...@@ -79,7 +79,7 @@ public class DoMap {
//惯性权重,加速因子1,2 //惯性权重,加速因子1,2
static double s = 1.5; static int c1 = 1; static int c2 = 1; static double s = 1.5; static int c1 = 1; static int c2 = 1;
public static void main(String[] args) { public static void main(String[] args) throws ParseException {
//子任务依赖关系 边 //子任务依赖关系 边
int[][] link = {{0, 0, 1, 2, 3, 4, 5}, {1, 2, 3, 4, 5, 5, 6}}; int[][] link = {{0, 0, 1, 2, 3, 4, 5}, {1, 2, 3, 4, 5, 5, 6}};
//task编号 //task编号
...@@ -99,7 +99,7 @@ public class DoMap { ...@@ -99,7 +99,7 @@ public class DoMap {
//路由表 //路由表
public static int[][] lastHop; public static int[][] lastHop;
public static void doMapApp(int[][] link1, int[] func1) { public static void doMapApp(int[][] link1, int[] func1) throws ParseException {
link = link1; link = link1;
func = func1; func = func1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment