Interface MoveDirector.TemporaryMovePostprocessor<Solution_,Score_ extends Score<Score_>,Result_>
- Type Parameters:
Solution_- type of the solutionScore_- score of the moveResult_- user-defined return type of the function
- All Superinterfaces:
BiFunction<InnerScore<Score_>,Move<Solution_>, Result_>
- Enclosing class:
- MoveDirector<Solution_,
Score_ extends Score<Score_>>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public static interface MoveDirector.TemporaryMovePostprocessor<Solution_,Score_ extends Score<Score_>,Result_>
extends BiFunction<InnerScore<Score_>,Move<Solution_>,Result_>
Allows for reading data produced by a temporary move, before it is undone.
The score argument represents the score after executing the move on the solution.
The move argument represents the undo move for that move.
-
Method Summary
Methods inherited from interface java.util.function.BiFunction
andThen, apply