[ server] [ func.xray ] - 完成有向向量图的基础功能 - 1

This commit is contained in:
zeaslity
2023-02-09 16:18:17 +08:00
parent aff674f985
commit becceab36b
2 changed files with 4 additions and 1 deletions

View File

@@ -91,9 +91,10 @@ class Graph {
for (int heigh = 0; heigh < height; heigh++) {
List<Integer> list = adj_matrix.get(heigh);
System.out.print("FROM [ " + ProxyNodeMap.get(heigh) + " ] ==> ");
for (int width = 0; width < weight; width++) {
if (list.get(width) != 0) {
System.out.print(ProxyNodeMap.get(list.get(width)) + "\t");
System.out.print(ProxyNodeMap.get(width) + ": "+ list.get(width) + "\t");
}
}
System.out.print("\n");

View File

@@ -1,4 +1,6 @@
package io.wdd.func.xray.service;
public class XrayCoreServiceImpl implements XrayCoreService{
}