All Downloads are FREE. Search and download functionalities are using the official Maven repository.

freak.core.searchspace.SearchSpace Maven / Gradle / Ivy

There is a newer version: 0.4.7
Show newest version
/*
 * This file is part of FrEAK. For licensing and copyright information
 * please see the file COPYING in the root directory of this
 * distribution or contact .
 */

package freak.core.searchspace;

import freak.core.modulesupport.*;
import freak.core.modulesupport.Module;
import freak.core.population.*;

/**
 * An interface representing the current search space. In terms of evolutionary
 * algorithms, the search space is a set containing all genotypes that 
 * that can possibly be evaluated by the algorithm 
 * (encapsulated by individuals).
* SearchSpace provides general information about the current * search space and some general operations such as generating * a random genotype. * * @author Dirk */ public interface SearchSpace extends Module { /** * Returns a genotype generated randomly with uniform probability * distribution among all genotypes of the seach space. * * @return a randomly generated genotype. */ Genotype getRandomGenotype(); /** * Returns the overall number of genotypes within the search space. * * @return the overall number of genotypes within the search space. */ double getSize(); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy