diff options
Diffstat (limited to 'nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/global/OutputMethods.java')
-rw-r--r-- | nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/global/OutputMethods.java | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/global/OutputMethods.java b/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/global/OutputMethods.java index b2177b8dfdb8..666a8a0bd758 100644 --- a/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/global/OutputMethods.java +++ b/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/global/OutputMethods.java @@ -28,18 +28,7 @@ public class OutputMethods { public OutputMethods() { } - public static String outputVectorAsStr(double[] vector){ - if(vector==null) return "NULL"; - String totalStr = ""; - for(int i=0;i<vector.length;i++){ - totalStr += vector[i]; - if(i!=vector.length-1) { - totalStr += "\t"; - } - } - totalStr+="\r\n"; - return totalStr; - } + public static void outputVector(double[] vector){ for(int i=0;i<vector.length;i++){ |