Navigation

  • index
  • modules |
  • next |
  • previous |
  • jMetalPy 1.7.0 documentation »
  • Single-objective algorithms »
  • Local Search
jMetalPy 1.7.0 documentation
Python version of the jMetal framework

Table Of Contents

  • Getting started
  • Multi-objective algorithms
  • Single-objective algorithms
    • Evolution Strategy
    • Genetic Algorithm
    • Local Search
    • Simulated annealing
  • Operators
  • Problems
  • Contributing
  • About

Contents

  • Local Search
    • LocalSearch
      • LocalSearch.create_initial_solutions()
      • LocalSearch.evaluate()
      • LocalSearch.get_name()
      • LocalSearch.init_progress()
      • LocalSearch.observable_data()
      • LocalSearch.result()
      • LocalSearch.step()
      • LocalSearch.stopping_condition_is_met()
      • LocalSearch.update_progress()
  1. Docs
  2. Single-objective algorithms
  3. Local Search

Local Search¶

class jmetal.algorithm.singleobjective.local_search.LocalSearch(problem: ~jmetal.core.problem.Problem[~jmetal.algorithm.singleobjective.local_search.S], mutation: ~jmetal.core.operator.Mutation, termination_criterion: ~jmetal.util.termination_criterion.TerminationCriterion = <jmetal.util.termination_criterion.StoppingByEvaluations object>, comparator: ~jmetal.util.comparator.Comparator = <jmetal.util.comparator.DominanceComparator object>)[source]¶

Bases: Algorithm[S, R], Thread

create_initial_solutions() → List[S][source]¶

Creates the initial list of solutions of a metaheuristic.

evaluate(solutions: List[S]) → List[S][source]¶

Evaluates a solution list.

get_name() → str[source]¶
init_progress() → None[source]¶

Initialize the algorithm.

observable_data() → dict[source]¶

Get observable data, with the information that will be seng to all observers each time.

result() → R[source]¶
step() → None[source]¶

Performs one iteration/step of the algorithm’s loop.

stopping_condition_is_met() → bool[source]¶

The stopping condition is met or not.

update_progress() → None[source]¶

Update the progress after each iteration.

← Genetic Algorithm
Simulated annealing →

Navigation

  • index
  • modules |
  • next |
  • previous |
  • jMetalPy 1.7.0 documentation »
  • Single-objective algorithms »
  • Local Search
© Copyright 2019, Antonio Benítez-Hidalgo. Created using Sphinx.