Genetic Engine
  • Tutorial
  • Sklearn-compatible API
  • Grammars
  • Introduction to Metahandlers
  • MetaHandlers Library
  • Create your own metahandler
  • Problems
  • Algorithms
  • Stopping Criteria
  • Individual representations
  • Genetic operators
  • Optimizations
  • Sub-tree caching
  • API Reference
    • geneticengine
      • Submodules
        • geneticengine.algorithms
        • geneticengine.evaluation
        • geneticengine.exceptions
        • geneticengine.generic_utils
        • geneticengine.grammar
        • geneticengine.logger
        • geneticengine.prelude
        • geneticengine.problems
        • geneticengine.random
        • geneticengine.representations
        • geneticengine.solutions
  • Synthetic problem generation
Genetic Engine
  • API Reference
  • geneticengine
  • geneticengine.algorithms
  • geneticengine.algorithms.random_search
  • View page source

geneticengine.algorithms.random_search

Classes

RandomSearch

Randomly generates new solutions and keeps the best one.

Module Contents

class geneticengine.algorithms.random_search.RandomSearch

Bases: geneticengine.algorithms.heuristics.HeuristicSearch

Randomly generates new solutions and keeps the best one.

perform_search()
Return type:

list[geneticengine.solutions.individual.Individual] | None

Previous Next

© Copyright 2022, Alcides Fonseca et al..

Built with Sphinx using a theme provided by Read the Docs.