Interface UniNeighborhoodsPredicate<Solution_,A>
- Type Parameters:
Solution_- the type of the solutionA- the type of the first parameter
- All Superinterfaces:
BiPredicate<SolutionView<Solution_>,A>
@NullMarked
public interface UniNeighborhoodsPredicate<Solution_,A>
extends BiPredicate<SolutionView<Solution_>,A>
A filter that can be applied to a
UniEnumeratingStream to filter out pairs of data,
optionally using SolutionView to query for solution state.-
Method Summary
Modifier and TypeMethodDescriptiondefault UniNeighborhoodsPredicate<Solution_,A> and(BiPredicate<? super SolutionView<Solution_>, ? super A> other) booleantest(SolutionView<Solution_> solutionView, @Nullable A a) toPredicate(SolutionView<Solution_> solutionView) Methods inherited from interface java.util.function.BiPredicate
negate, or
-
Method Details
-
test
- Specified by:
testin interfaceBiPredicate<Solution_,A>
-
and
default UniNeighborhoodsPredicate<Solution_,A> and(BiPredicate<? super SolutionView<Solution_>, ? super A> other) - Specified by:
andin interfaceBiPredicate<Solution_,A>
-
toPredicate
-