Skip to content

Commit d012d7e

Browse files
committed
review
1 parent 6d32453 commit d012d7e

4 files changed

Lines changed: 6 additions & 10 deletions

File tree

README.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ There are three editions of Timefold Solver:
6868

6969
- _Timefold Solver Community Edition_,
7070
- _Timefold Solver Plus_
71-
- and _Timefold Solver Enterprise.
71+
- and _Timefold Solver Enterprise_.
7272

7373
The Community Edition (this repo) is open-source and licensed under the Apache-2.0 license.
7474
The latter two are non-open-source commercial offerings and require a Timefold license to run.

core/src/main/java/ai/timefold/solver/core/api/score/calculator/AnalyzableIncrementalScoreCalculator.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
* Any implementation is naturally stateful.
1212
* <p>
1313
* Note: Explainability features are exclusive to Timefold Solver Enterprise Edition.
14-
* They are not available in the open-source version of Timefold Solver,
15-
* and using this interface will have no effect there.
14+
* Implementing this interface in Community Edition may still bring benefits
15+
* in terms of score corruption analysis.
1616
*
1717
* @param <Solution_> the solution type, the class with the {@link PlanningSolution} annotation
1818
* @param <Score_> the score type to go with the solution

core/src/main/java/ai/timefold/solver/core/api/score/calculator/ConstraintMatchRegistry.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,6 @@
1010
import org.jspecify.annotations.NullMarked;
1111

1212
/**
13-
* <p>
14-
* Note: Explainability features are exclusive to Timefold Solver Enterprise Edition.
15-
* They are not available in the open-source version of Timefold Solver,
16-
* and using this class will have no effect there.
17-
*
1813
* @param <Score_>
1914
* @see AnalyzableIncrementalScoreCalculator Adding explainability to incremental score calculator.
2015
*/

docs/src/modules/ROOT/pages/upgrading-timefold-solver/upgrade-from-v1.adoc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -321,13 +321,14 @@ The following `ScoreExplanation` methods have no direct replacement and must be
321321
322322
`IncrementalScoreCalculator` has also seen changes in this area.
323323
`ConstraintMatchAwareIncrementalScoreCalculator` was removed.
324-
The replacement `AnalyzableIncrementalScoreCalculator` is provided by the Enterprise Edition.
324+
The replacement `AnalyzableIncrementalScoreCalculator` is provided by the Plus and Enterprise editions.
325325
326326
Instead of overriding methods to return constraint matches, implement the `enableConstraintMatch(ConstraintMatchRegistry<Score_>)` method.
327327
Use `ConstraintMatchRegistry.registerConstraintMatch(ConstraintRef, score, justification)` to register each match;
328328
it returns a `ConstraintMatchRegistration` whose `cancel()` method removes the match when the assignment changes.
329329
330-
Add the Timefold Solver Enterprise dependency to your project to use `ScoreAnalysis` or `AnalyzableIncrementalScoreCalculator`.
330+
To use `ScoreAnalysis` or `AnalyzableIncrementalScoreCalculator`,
331+
xref:commercial-editions/installation.adoc[install either of the commercial editions].
331332
There is no automated migration recipe for these changes; all changes must be made manually.
332333
====
333334

0 commit comments

Comments
 (0)