summaryrefslogtreecommitdiff
path: root/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/deps/DEPSAgent.java
diff options
context:
space:
mode:
Diffstat (limited to 'nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/deps/DEPSAgent.java')
-rw-r--r--nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/deps/DEPSAgent.java18
1 files changed, 9 insertions, 9 deletions
diff --git a/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/deps/DEPSAgent.java b/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/deps/DEPSAgent.java
index 3107fa8deff1..5482b180cd88 100644
--- a/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/deps/DEPSAgent.java
+++ b/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/deps/DEPSAgent.java
@@ -41,28 +41,28 @@ import net.adaptivebox.space.*;
public class DEPSAgent implements ILibEngine {
//Describes the problem to be solved
- protected ProblemEncoder problemEncoder;
+ private ProblemEncoder problemEncoder;
//Forms the goodness landscape
- protected IGoodnessCompareEngine qualityComparator;
+ private IGoodnessCompareEngine qualityComparator;
//store the point that generated in current learning cycle
- protected SearchPoint trailPoint;
+ private SearchPoint trailPoint;
//temp variable
private AbsGTBehavior selectGTBehavior;
//The referred library
- protected Library socialLib;
+ private Library socialLib;
//the own memory: store the point that generated in old learning cycle
- protected BasicPoint pold_t;
+ private BasicPoint pold_t;
//the own memory: store the point that generated in last learning cycle
- protected BasicPoint pcurrent_t;
+ private BasicPoint pcurrent_t;
//the own memory: store the personal best point
- protected SearchPoint pbest_t;
+ private SearchPoint pbest_t;
//Generate-and-test Behaviors
- protected DEGTBehavior deGTBehavior;
- protected PSGTBehavior psGTBehavior;
+ private DEGTBehavior deGTBehavior;
+ private PSGTBehavior psGTBehavior;
public double switchP = 0.5;
public void setLibrary(Library lib) {