[ server] [ func.xray ] - 完成有向向量图的基础功能 - 1
This commit is contained in:
@@ -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");
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
package io.wdd.func.xray.service;
|
||||
|
||||
public class XrayCoreServiceImpl implements XrayCoreService{
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user