|
OptaPlanner core 6.0.0.Final | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value=TYPE) @Retention(value=RUNTIME) public @interface PlanningSolution
Specifies that the class is a planning solution.
Each planning solution must have at least 1 PlanningEntityCollectionProperty
or PlanningEntityProperty
property.
Solution
too.
Optional Element Summary | |
---|---|
Class<? extends SolutionCloner> |
solutionCloner
Overrides the default PlanningSolution.NullSolutionCloner to implement a custom Solution cloning implementation. |
public abstract Class<? extends SolutionCloner> solutionCloner
PlanningSolution.NullSolutionCloner
to implement a custom Solution
cloning implementation.
If this is not specified and the Solution
does not implements PlanningCloneable
,
the default reflection-based PlanningSolution.NullSolutionCloner
is used, so you don't have to worry about it.
PlanningSolution.NullSolutionCloner
when it is null (workaround for annotation limitation)
|
OptaPlanner core 6.0.0.Final | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |