Interface RecommendedFit<Proposition_,Score_ extends Score<Score_>>
- Type Parameters:
Proposition_- the generic type of the proposition as returned by the proposition functionScore_- the generic type of the score
- All Superinterfaces:
RecommendedAssignment<Proposition_,Score_>
- All Known Implementing Classes:
DefaultRecommendedFit
@Deprecated(forRemoval=true,
since="1.15.0")
public interface RecommendedFit<Proposition_,Score_ extends Score<Score_>>
extends RecommendedAssignment<Proposition_,Score_>
Deprecated, for removal: This API element is subject to removal in a future version.
Represents the result of the Recommended Fit API,
see
SolutionManager.recommendFit(Object, Object, Function).
In order to be fully serializable to JSON, propositions must be fully serializable to JSON.
For deserialization from JSON, the user needs to provide the deserializer themselves.
This is due to the fact that, once the proposition is received over the wire,
we no longer know which type was used.
The user has all of that information in their domain model,
and so they are the correct party to provide the deserializer.
See also ScoreAnalysis Javadoc for additional notes on serializing and deserializing that type.
-
Method Summary
Methods inherited from interface ai.timefold.solver.core.api.solver.RecommendedAssignment
proposition, scoreAnalysisDiff
RecommendedAssignmentinstead.