Interface BiEnumeratingStream<Solution_,A,B>
- All Superinterfaces:
EnumeratingStream
- All Known Implementing Classes:
AbstractBiEnumeratingStream,AftBridgeBiEnumeratingStream,JoinBiEnumeratingStream
-
Method Summary
Modifier and TypeMethodDescriptiondistinct()As defined byUniEnumeratingStream.distinct().filter(BiNeighborhoodsPredicate<Solution_, A, B> filter) Exhaustively test each fact against theBiNeighborhoodsPredicateand match ifBiNeighborhoodsPredicate.test(SolutionView, Object, Object)returns true.<ResultA_> UniEnumeratingStream<Solution_,ResultA_> map(BiNeighborhoodsMapper<Solution_, A, B, ResultA_> mapping) As defined byUniEnumeratingStream.map(UniNeighborhoodsMapper).<ResultA_,ResultB_>
BiEnumeratingStream<Solution_,ResultA_, ResultB_> map(BiNeighborhoodsMapper<Solution_, A, B, ResultA_> mappingA, BiNeighborhoodsMapper<Solution_, A, B, ResultB_> mappingB) As defined bymap(BiNeighborhoodsMapper), only resulting inBiEnumeratingStream.
-
Method Details
-
filter
Exhaustively test each fact against theBiNeighborhoodsPredicateand match ifBiNeighborhoodsPredicate.test(SolutionView, Object, Object)returns true. -
map
<ResultA_> UniEnumeratingStream<Solution_,ResultA_> map(BiNeighborhoodsMapper<Solution_, A, B, ResultA_> mapping) As defined byUniEnumeratingStream.map(UniNeighborhoodsMapper).Use with caution, as the increased memory allocation rates coming from tuple creation may negatively affect performance.
- Type Parameters:
ResultA_- the type of the only fact in the resultingUniEnumeratingStream's tuple- Parameters:
mapping- function to convert the original tuple into the new tuple
-
map
<ResultA_,ResultB_> BiEnumeratingStream<Solution_,ResultA_, mapResultB_> (BiNeighborhoodsMapper<Solution_, A, B, ResultA_> mappingA, BiNeighborhoodsMapper<Solution_, A, B, ResultB_> mappingB) As defined bymap(BiNeighborhoodsMapper), only resulting inBiEnumeratingStream.- Type Parameters:
ResultA_- the type of the first fact in the resultingBiEnumeratingStream's tupleResultB_- the type of the first fact in the resultingBiEnumeratingStream's tuple- Parameters:
mappingA- function to convert the original tuple into the first fact of a new tuplemappingB- function to convert the original tuple into the second fact of a new tuple
-
distinct
BiEnumeratingStream<Solution_,A, distinct()B> As defined byUniEnumeratingStream.distinct().
-