Skip to content

Commit

Permalink
ReferenceResult::addScore, @JsonIgnore i
Browse files Browse the repository at this point in the history
  • Loading branch information
rmartinsanta committed Nov 21, 2024
1 parent eb23455 commit 94b784f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
- (New) Irace plots: generate an HTML report with the results of running the autoconfig procedure.
- (Breaking) Due to changes in how objectives are handled, ReferenceResult methods have been renamed for clarity.
- (Fix) Math.random, Collections.shuffle now blocked using AspectJ instead of reflection. --add-opens no longer necessary.
- (Fix) Add @JsonIgnore to instance in solution class already exists in getter, but serializer may be configured to use fields instead of methods.
- (Deleted) Solution::isBetterThan, unused and not necessary.
- (Deleted) Solution::getScore, Solution::recalculateScore: score recalculation should now be done in the solution validator implementation, and getScore can be any method the user wants, as long as it is declared as an Objective.
- (Deleted) LazyMove & EagerMove: mostly unused and can be replaced by a normal Move. See SwapNeighborhood in TSP module for an example lazy implementation.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ public abstract class Solution<SELF extends Solution<SELF, I>, I extends Instanc
/**
* Ignore field when serializing solutions to avoid data duplication
*/
@JsonIgnore
private final I ins;

/**
Expand Down

0 comments on commit 94b784f

Please sign in to comment.