diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-07-18 09:11:57 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-07-18 10:35:16 +0200 |
commit | 4b99e377473e74160627d3b257fec7b3bc8e7763 (patch) | |
tree | 70b5f7b8193586fc593280e889a9eb5e852b457d /nlpsolver/src/com/sun/star | |
parent | bd90d1c630c93cf39f9bd83fc69c568c9d7eb35a (diff) |
Revert "Some lower objects coupling."
This reverts commit 7b93bae224c7c2c49b105ef97304bb46f8b68da5.
Reason for revert: Does not compile
/home/tdf/lode/jenkins/workspace/lo_ubsan/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/deps/DEPSAgent.java:45: error: DEPSAgent is not abstract and does not override abstract method setLibrary(Library) in ILibEngine
public class DEPSAgent implements ILibEngine {
^
1 error
Change-Id: I72f2a22ab1f4119178f8002c21ba0845c4cd1bdf
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119040
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'nlpsolver/src/com/sun/star')
-rw-r--r-- | nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/DEPSSolverImpl.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/DEPSSolverImpl.java b/nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/DEPSSolverImpl.java index edba08936d39..20cf9286e91a 100644 --- a/nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/DEPSSolverImpl.java +++ b/nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/DEPSSolverImpl.java @@ -131,16 +131,14 @@ public final class DEPSSolverImpl extends BaseEvolutionarySolver deGTBehavior.MIN_FACTOR = Math.min(m_minFactor.getValue(), m_maxFactor.getValue()); deGTBehavior.MAX_FACTOR = Math.max(m_minFactor.getValue(), m_maxFactor.getValue()); deGTBehavior.CR = m_CR.getValue(); - deGTBehavior.setLibrary(m_library); PSGTBehavior psGTBehavior = new PSGTBehavior(); psGTBehavior.c1 = m_c1.getValue(); psGTBehavior.c2 = m_c2.getValue(); psGTBehavior.CL = m_CL.getValue(); psGTBehavior.weight = m_weight.getValue(); - psGTBehavior.setLibrary(m_library); - agents[i] = new DEPSAgent(m_problemEncoder, deGTBehavior, psGTBehavior, m_agentSwitchRate.getValue(), m_specCompareEngine); + agents[i] = new DEPSAgent(m_problemEncoder, deGTBehavior, psGTBehavior, m_agentSwitchRate.getValue(), m_specCompareEngine, m_library); agents[i].setPbest(m_library.getSelectedPoint(i)); } |