Package | Description |
---|---|
org.jamesframework.core.problems.constraints |
Constraint interfaces.
|
org.jamesframework.core.problems.constraints.validations |
Validation interfaces and predefined implementations.
|
org.jamesframework.core.problems.objectives.evaluations |
Evaluation interface and predefined implementations.
|
Modifier and Type | Method and Description |
---|---|
default <ActualSolutionType extends SolutionType> |
PenalizingConstraint.validate(Move<? super ActualSolutionType> move,
ActualSolutionType curSolution,
Validation curValidation,
DataType data)
Validates a move that will be applied to the current solution of a local search (delta validation).
|
PenalizingValidation |
PenalizingConstraint.validate(SolutionType solution,
DataType data)
Validates a solution given the underlying data.
|
Modifier and Type | Class and Description |
---|---|
class |
SimplePenalizingValidation
A simple penalizing validation object that wraps a boolean value,
indicating whether the corresponding solution passed validation,
and a double value, indicating the assigned penalty if the solution
did not pass validation.
|
Modifier and Type | Method and Description |
---|---|
PenalizingValidation |
PenalizedEvaluation.getPenalizingValidation(Object key)
Retrieve the penalizing validation object corresponding to the given key.
|
Modifier and Type | Method and Description |
---|---|
void |
PenalizedEvaluation.addPenalizingValidation(Object key,
PenalizingValidation penalizingValidation)
Add a penalty expressed by a penalizing validation object.
|
Copyright © 2016. All rights reserved.