高级算法模块代码调整
This commit is contained in:
@@ -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";
|
||||
|
||||
@@ -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++) {
|
||||
|
||||
Reference in New Issue
Block a user