summaryrefslogtreecommitdiff
path: root/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/space/DesignDim.java
diff options
context:
space:
mode:
authorTodor Balabanov <todor.balabanov@gmail.com>2019-05-08 14:34:10 +0300
committerJulien Nabet <serval2412@yahoo.fr>2019-05-10 08:49:42 +0200
commit7aeef2e88b0a74be6670f13536281bbaecfa568f (patch)
tree4de26419fbc411029256ce3b72c2acec869f3cd1 /nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/space/DesignDim.java
parent8a26e4b26f0153fb8ca5da880ee4aa44748ee4df (diff)
Import of each class is better practice than import of entire library.
Change-Id: I13c4916b951d36ea5e83e52c9c6e36df552bdfeb Reviewed-on: https://gerrit.libreoffice.org/71961 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/space/DesignDim.java')
-rw-r--r--nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/space/DesignDim.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/space/DesignDim.java b/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/space/DesignDim.java
index 1089b850e8cb..ce6790402a4e 100644
--- a/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/space/DesignDim.java
+++ b/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/space/DesignDim.java
@@ -20,7 +20,8 @@
*/
package net.adaptivebox.space;
-import net.adaptivebox.global.*;
+
+import net.adaptivebox.global.BasicBound;
public class DesignDim {
// To discrete space with the given step. For example, for an integer variable,
@@ -28,9 +29,6 @@ public class DesignDim {
public double grain = 0;
public BasicBound paramBound = new BasicBound(); //the range of a parameter
-
-
-
public boolean isDiscrete() {
return grain!=0;
}