culebra.abc module

Base classes of culebra.

Fundamental classes to solve optimization problems. The abc module defines:

  • A Base class from which all the classes of culebra inherit

  • A Species class to define the characteristics of solutions belonging to a given domain

  • A Solution class, which will be used within the Trainer class to seek the best solution(s) for a problem

  • A Fitness class to store the fitness values for each Solution

  • A FitnessFunction class to evaluate a Solution during the training process and assign it values for its Fitness

  • A Trainer class to find solutions for a problem