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

freak.core.graph.AbstractVariation 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.graph;

import freak.core.searchspace.*;

/**
 * An abstract superclass for all operators with the ability to create new 
 * genotypes.
 * 
 * @author Dirk 
 */
abstract public class AbstractVariation extends AbstractOperator {
	/**
	 * Creates a new AbstractVariation operator.
	 * 
	 * @param graph a link back to the operator graph.
	 */
	public AbstractVariation(OperatorGraph graph) {
		super(graph);
	}

	/**
	 * Returns the current genotype search space.
	 * 
	 * @return the current genotype search space.
	 */
	public SearchSpace getGenotypeSearchSpace() {
		return getOperatorGraph().getSchedule().getGenotypeSearchSpace();
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy