|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.biojava.utils.AbstractChangeable
org.biojavax.ga.functions.AbstractSelectionFunction
public abstract class AbstractSelectionFunction
Abstract implementation of FitnessFunction
.
All custom implementations should inherit from here to get access to
change support.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.biojavax.ga.functions.SelectionFunction |
---|
SelectionFunction.SelectAll, SelectionFunction.Threshold |
Field Summary |
---|
Fields inherited from interface org.biojavax.ga.functions.SelectionFunction |
---|
DEFAULT, FITNESS_FUNCTION |
Constructor Summary | |
---|---|
protected |
AbstractSelectionFunction()
|
Method Summary | |
---|---|
FitnessFunction |
getFitnessFunction()
|
void |
setFitnessFunction(FitnessFunction func)
The fitness function that will be used by the select method. |
Methods inherited from class org.biojava.utils.AbstractChangeable |
---|
addChangeListener, addChangeListener, generateChangeSupport, getChangeSupport, hasListeners, hasListeners, isUnchanging, removeChangeListener, removeChangeListener |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.biojavax.ga.functions.SelectionFunction |
---|
select |
Constructor Detail |
---|
protected AbstractSelectionFunction()
Method Detail |
---|
public FitnessFunction getFitnessFunction()
getFitnessFunction
in interface SelectionFunction
public final void setFitnessFunction(FitnessFunction func) throws ChangeVetoException
SelectionFunction
setFitnessFunction
in interface SelectionFunction
func
- the FitnessFunction
to be used
ChangeVetoException
- if the change is vetoed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |