Uses of Class
es.urjc.etsii.grafo.improve.sa.SimulatedAnnealingBuilder
Packages that use SimulatedAnnealingBuilder
-
Uses of SimulatedAnnealingBuilder in es.urjc.etsii.grafo.improve.sa
Methods in es.urjc.etsii.grafo.improve.sa that return SimulatedAnnealingBuilderModifier and TypeMethodDescriptionSimulatedAnnealingBuilder.withAcceptanceCriteriaCustom(AcceptanceCriteria<M, S, I> acceptanceCriteria) Configure a custom acceptance criteria.SimulatedAnnealingBuilder.withAcceptanceCriteriaDefault(Objective<M, S, I> objective) Set acceptance criteria to default value, based on the metropolis exponential functionSimulatedAnnealingBuilder.withCoolDownCustom(CoolDownControl<M, S, I> coolDownControl) Set a custom cool down function.SimulatedAnnealingBuilder.withCoolDownExponential(double ratio) Use an exponential cool down function.SimulatedAnnealingBuilder.withCycleLength(int cycleLength) Set cycle lengthSimulatedAnnealingBuilder.withInitialTempFunction(InitialTemperatureCalculator<M, S, I> initialTemperatureCalculator) Provide a custom method for calculating the initial temperature.SimulatedAnnealingBuilder.withInitialTempMaxValue(Objective<M, S, I> objective) Calculate initial temp as the difference between the best and worst moves in the given neighborhoodSimulatedAnnealingBuilder.withInitialTempMaxValue(Objective<M, S, I> objective, double ratio) Calculate initial temp as the difference between the best and worst moves in the given neighborhoodSimulatedAnnealingBuilder.withInitialTempValue(double initialTemp) Provide a constant initial temperatureSimulatedAnnealingBuilder.withNeighborhood(RandomizableNeighborhood<M, S, I> neighborhood) Neighborhood for the Simulated Annealing.SimulatedAnnealingBuilder.withObjective(Objective<M, S, I> objective) Set a custom score evaluation function for any moveSimulatedAnnealingBuilder.withTerminationCriteriaConverge()End when temperature reaches 0.SimulatedAnnealingBuilder.withTerminationCriteriaCustom(TerminationCriteria<M, S, I> terminationCriteria) Set a custom termination criteria.SimulatedAnnealingBuilder.withTerminationCriteriaMaxIterations(int n) End when the maximum number of iterations is reached.