-
Task
-
Resolution: Unresolved
-
Critical
-
None
Discussion started in JBRULES-3439.
Summary:
1) Planning entity solutionHashCode() and hashCode() are both needed. What's the difference and why not one method?
Reason: solutionHashCode() must include the variables, and hashCode() must not include the variables
2) solutionHashCode() will be obsolete once Solution.equals/hashCode() gets implemented automatically by planner by just looking at the entities and variables.
3) What if the users does want to include the variables in it's equals method. Can the tabu accepter work on some sort of entity.getId() value?
Note: It can not work with IdentityHashMap because there will be different instances (especially in multi-threading or multi-vm).
- is blocked by
-
PLANNER-76 Multi-threaded incremental Solver (without partitioning): construction heuristics, local search, ...
- Resolved
- is related to
-
PLANNER-9 NPE in AbstractTabuAcceptor.stepTaken
- Resolved