Uses of Class
org.cicirello.search.SolutionCostPair
Package
Description
This package includes classes and interfaces related to implementing metaheuristic search
algorithms in general, rather than specific to a particular metaheuristic.
This package includes multithreaded search implementations, as well as classes and interfaces
related to implementing multithreaded metaheuristics.
This package includes classes and interfaces directly related to implementing evolutionary
algorithms.
Package of classes and interfaces related to representing computational problems, as well as
classes implementing a variety of specific computational problems.
This package includes classes and interfaces related to implementing multistart metaheuristics
(i.e., metaheuristics that periodically restart, and return the best solution across a number of
such restarts).
This package includes classes and interfaces directly related to implementing simulated
annealing.
This package includes classes and interfaces directly related to implementing stochastic sampling
algorithms.
-
Uses of SolutionCostPair in org.cicirello.search
Modifier and TypeMethodDescriptionProgressTracker.getSolutionCostPair()
Gets the current best solution and its corresponding cost from the ProgressTracker.Metaheuristic.optimize
(int runLength) Executes a run of the metaheuristic beginning at a randomly generated solution.Executes a single run of a metaheuristic, whose run length cannot be specified (e.g., a hill climber that terminates when it reaches a local optima), beginning at a specified solution.SimpleMetaheuristic.optimize()
Executes a single run of a metaheuristic whose run length cannot be specified (e.g., a hill climber that terminates when it reaches a local optima, or a stochastic sampler that terminates when it constructs one solution, etc).Executes a run of the metaheuristic beginning at a specified starting solution.ReoptimizableMetaheuristic.reoptimize
(int runLength) Executes a run of the metaheuristic beginning at the previously best found solution rather than from a random one.Modifier and TypeMethodDescriptionint
SolutionCostPair.compareTo
(SolutionCostPair<T> other) Compares this SolutionCostPair with the specified SolutionCostPair for order.boolean
ProgressTracker.update
(SolutionCostPair<T> pair) Updates the best solution contained in this progress tracker. -
Uses of SolutionCostPair in org.cicirello.search.concurrent
Modifier and TypeMethodDescriptionfinal SolutionCostPair<T>
ParallelMetaheuristic.optimize
(int runLength) Executes a parallel metaheuristic search.final SolutionCostPair<T>
TimedParallelMultistarter.optimize
(int time) Executes a parallel multistart search.final SolutionCostPair<T>
ParallelReoptimizableMetaheuristic.reoptimize
(int runLength) Executes a parallel metaheuristic search.TimedParallelReoptimizableMultistarter.reoptimize
(int time) Executes a parallel multistart search.Modifier and TypeMethodDescriptionfinal ArrayList<SolutionCostPair<T>>
TimedParallelMultistarter.getSearchHistory()
Gets a list of the best solution stored in this search'sProgressTracker
at each time interval of the most recent call to theTimedParallelMultistarter.optimize(int)
method, or null ifTimedParallelMultistarter.optimize(int)
has not been called. -
Uses of SolutionCostPair in org.cicirello.search.evo
Modifier and TypeMethodDescriptionfinal SolutionCostPair<T>
OnePlusOneEvolutionaryAlgorithm.optimize
(int maxEvals) Runs the EA beginning at a random initial solution.final SolutionCostPair<T>
Runs the EA beginning at a specified initial solution.final SolutionCostPair<T>
OnePlusOneEvolutionaryAlgorithm.reoptimize
(int maxEvals) Continues optimizing starting from the previous best found solution contained in the tracker object, rather than from a random one. -
Uses of SolutionCostPair in org.cicirello.search.problems
Modifier and TypeMethodDescriptiondefault SolutionCostPair<T>
IntegerCostOptimizationProblem.getSolutionCostPair
(T candidate) Computes the cost of a candidate solution to the problem instance.default SolutionCostPair<T>
OptimizationProblem.getSolutionCostPair
(T candidate) Computes the cost of a candidate solution to the problem instance.Problem.getSolutionCostPair
(T candidate) Computes the cost of a candidate solution to the problem instance. -
Uses of SolutionCostPair in org.cicirello.search.restarts
Modifier and TypeMethodDescriptionfinal SolutionCostPair<T>
Multistarter.optimize
(int numRestarts) Executes a multistart search, calling the underlying metaheuristic the specified number of times, keeping track of the best solution across the multiple runs of the search.ReoptimizableMultistarter.reoptimize
(int numRestarts) Executes a multistart search, calling the underlying metaheuristic the specified number of times, keeping track of the best solution across the multiple runs of the search. -
Uses of SolutionCostPair in org.cicirello.search.sa
Modifier and TypeMethodDescriptionfinal SolutionCostPair<T>
SimulatedAnnealing.optimize
(int maxEvals) Executes a run of simulated annealing beginning at a randomly generated solution.final SolutionCostPair<T>
Executes a run of simulated annealing beginning at a specified starting solution.final SolutionCostPair<T>
SimulatedAnnealing.reoptimize
(int maxEvals) Reaneals starting from the previous best found solution contained in the tracker object. -
Uses of SolutionCostPair in org.cicirello.search.ss
Modifier and TypeMethodDescriptionfinal SolutionCostPair<T>
HeuristicSolutionGenerator.optimize()