Uses of Class
es.urjc.etsii.grafo.algorithms.scattersearch.ScatterSearchBuilder
Packages that use ScatterSearchBuilder
-
Uses of ScatterSearchBuilder in es.urjc.etsii.grafo.algorithms.scattersearch
Methods in es.urjc.etsii.grafo.algorithms.scattersearch that return ScatterSearchBuilderModifier and TypeMethodDescriptionScatterSearchBuilder.withCombinator(SolutionCombinator<S, I> combinator) Configure the method used to generate a new candidate set in each Scatter Search algorithmScatterSearchBuilder.withConstructive(Constructive<S, I> constructive) Configure constructive method for initial refset generation.ScatterSearchBuilder.withConstructiveForDiversity(Constructive<S, I> constructive) Configure a constructive method to use only when diverse solutions are requiredScatterSearchBuilder.withDistance(SolutionDistance<S, I> distance) Configure how distance is calculated between different solutions, needed to see how diverse are the solutions.ScatterSearchBuilder.withDiversity(double ratio) Configure diversity ratio, ie, number of elements that during refset initialization will be accepted maximizing distance to existing solutions, instead of by objective function value.ScatterSearchBuilder.withImprover(Improver<S, I> improver) Configure an improvement method for the Scatter Search algorithm.ScatterSearchBuilder.withInitialRatio(double ratio) Optional parameter, specifies how many extra solutions to build during refset initialization When initializing the refset inside the Scatter Search, build (initialRatio * refSetSize) solutions, and choose from them the set of the best solutions and diverse solutions.ScatterSearchBuilder.withMaxIterations(int maxIterations) Optional parameter, specifies how many scatter search iterations to execute before stopping.Configure algorithm nameScatterSearchBuilder.withObjective(Objective<?, S, I> objective) Set objective to optimize in ScatterSearchScatterSearchBuilder.withRefsetSize(int size) Refset size, common values are in range [10,30]ScatterSearchBuilder.withSoftRestart(boolean enabled) Enable or disable soft restart.