diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2021-07-18 19:37:20 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2021-07-19 18:01:24 +0200 |
commit | 695d926248acf6e26222b26242f95fb46066aae6 (patch) | |
tree | cff3086a5ed54abe564c95af31d92c3f652d64c2 | |
parent | 1e0d4f454202ed19147715be6efba431719f4142 (diff) |
AbsGTBehavior should implement ILibEngine
so we're sure all derivatives will have to
Change-Id: I4e62d02f01382dbc95b28ffcb3d278aa31427f85
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119145
Tested-by: Jenkins
Reviewed-by: Todor Balabanov <todor.balabanov@gmail.com>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2 files changed, 3 insertions, 3 deletions
diff --git a/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/deps/behavior/AbsGTBehavior.java b/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/deps/behavior/AbsGTBehavior.java index c96174227b93..b6aacd3ccc40 100644 --- a/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/deps/behavior/AbsGTBehavior.java +++ b/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/deps/behavior/AbsGTBehavior.java @@ -18,12 +18,13 @@ package net.adaptivebox.deps.behavior; import net.adaptivebox.goodness.IGoodnessCompareEngine; +import net.adaptivebox.knowledge.ILibEngine; import net.adaptivebox.knowledge.Library; import net.adaptivebox.knowledge.SearchPoint; import net.adaptivebox.problem.ProblemEncoder; import net.adaptivebox.space.BasicPoint; -abstract public class AbsGTBehavior { +abstract public class AbsGTBehavior implements ILibEngine { // The referred social library protected Library socialLib; diff --git a/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/deps/behavior/DEGTBehavior.java b/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/deps/behavior/DEGTBehavior.java index ada457f3233c..21bc2fb82de3 100644 --- a/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/deps/behavior/DEGTBehavior.java +++ b/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/deps/behavior/DEGTBehavior.java @@ -30,13 +30,12 @@ package net.adaptivebox.deps.behavior; import net.adaptivebox.global.RandomGenerator; import net.adaptivebox.goodness.IGoodnessCompareEngine; -import net.adaptivebox.knowledge.ILibEngine; import net.adaptivebox.knowledge.Library; import net.adaptivebox.knowledge.SearchPoint; import net.adaptivebox.problem.ProblemEncoder; import net.adaptivebox.space.BasicPoint; -public class DEGTBehavior extends AbsGTBehavior implements ILibEngine { +public class DEGTBehavior extends AbsGTBehavior { //Number of differential vectors, normally be 1 or 2 private static final int DVNum = 2; |