高级算法模块代码调整

This commit is contained in:
2023-08-18 08:43:29 +08:00
parent ee5a97ac85
commit 86829c206c
3 changed files with 9 additions and 12 deletions

View File

@@ -26,7 +26,7 @@ public class JnaCallDllOrSo {
int beginIndex = os != null && os.startsWith("Windows") ? 1 : 0;
if(beginIndex == 0){
//linux操作系统
this.nameDll = name+".os";
this.nameDll = "lib"+name+".os";
this.path = URLDecoder.decode(this.getClass().getProtectionDomain().getCodeSource().getLocation().getPath(), "UTF-8");
}else {
this.nameDll = name+".dll";

View File

@@ -18,15 +18,7 @@ public class UtilNormalization {
}
entityMtrans.getMtrans()[i][i] = 0;
}
// 根据transformer设置元素
for (i = 0; i < len; i++) {
node1 = transformer[i].getNode_h();
node2 = transformer[i].getNode_l();
con = transformer[i].getType();
//TODO
//entityMtrans.getMtrans()[node1 - 1][node2 - 1] = con;
//entityMtrans.getMtrans()[node2 - 1][node1 - 1] = con;
}
StringBuilder str = new StringBuilder();
for (i = 0; i < FinalData.NODE_NUM; i++) {
for (j = 0; j < FinalData.NODE_NUM; j++) {