UNPKG

tycho-solver

Version:

Evolutionary computation and optimization library

7 lines 356 B
export const NeighborhoodSelectorOperator = ({ solution, neighborhoodFunction, dynamicNeighborhoodFunction, children }) => { const neighbors = dynamicNeighborhoodFunction ? dynamicNeighborhoodFunction(solution) : neighborhoodFunction(solution); return children(neighbors); }; //# sourceMappingURL=NeighborhoodSelectorOperator.js.map