|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.cilib.functions.Function net.sourceforge.cilib.functions.ContinuousFunction net.sourceforge.cilib.functions.continuous.dynamic.MovingPeaks
public class MovingPeaks
Field Summary | |
---|---|
net.sourceforge.cilib.functions.continuous.dynamic.MovingPeaks.BasisFunction |
bf
|
protected double |
lambda
|
double[][] |
peak
|
net.sourceforge.cilib.functions.continuous.dynamic.MovingPeaks.PeakFunction |
pf
|
protected boolean |
useBasisFunction
|
Constructor Summary | |
---|---|
MovingPeaks()
Creates a new instance of MovingPeaks. |
Method Summary | |
---|---|
void |
changePeaks()
|
boolean |
didChange()
|
double |
dummyEval(double[] gen)
|
double |
evaluate(Vector x)
Evaluate the function with the given Vector as input. |
double |
evaluateMovpeaks(double[] gen)
|
void |
freePeaks()
|
double |
getAvgError()
|
int |
getChangeFrequency()
Get the current change frequency. |
MovingPeaks |
getClone()
Create a cloned copy of the current object and return it. |
double |
getCurrentError()
|
int |
getCurrentPeak()
|
double |
getExclusionThreshold()
|
double |
getMaxCoordinate()
|
double |
getMaxHeight()
|
Object |
getMaximum()
Accessor for the function maximum. |
int |
getMaximumPeak()
|
double |
getMinCoordinate()
|
Object |
getMinimum()
Accessor for the function minimum. |
int |
getNumberOfEvals()
|
double |
getOfflineError()
|
double |
getOfflinePerformance()
|
double[] |
getPeakHeights()
|
double[][] |
getPeakPositions()
|
boolean |
getRightPeak()
|
void |
initPeaks()
|
void |
printPeakData()
|
void |
setChangeFrequency(int cfr)
Set the change frequency. |
Methods inherited from class net.sourceforge.cilib.functions.ContinuousFunction |
---|
evaluate |
Methods inherited from class net.sourceforge.cilib.functions.Function |
---|
getBehavioralDomainRegistry, getDimension, getDomain, getDomainRegistry, setBehavioralDomain, setBehaviouralDomainRegistry, setDomain |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected double lambda
protected boolean useBasisFunction
public net.sourceforge.cilib.functions.continuous.dynamic.MovingPeaks.PeakFunction pf
public net.sourceforge.cilib.functions.continuous.dynamic.MovingPeaks.BasisFunction bf
public double[][] peak
Constructor Detail |
---|
public MovingPeaks()
Method Detail |
---|
public MovingPeaks getClone()
getClone
in interface Cloneable
getClone
in class ContinuousFunction
Object.clone()
public Object getMinimum()
getMinimum
in class ContinuousFunction
public Object getMaximum()
getMaximum
in class ContinuousFunction
public double evaluate(Vector x)
Vector
as input.
evaluate
in class ContinuousFunction
x
- The input Vector
.
public void setChangeFrequency(int cfr)
cfr
- The given frequency.public int getChangeFrequency()
public boolean didChange()
public double getExclusionThreshold()
getExclusionThreshold
in interface DynamicFunction
public void initPeaks()
public double dummyEval(double[] gen)
public double evaluateMovpeaks(double[] gen)
public void changePeaks()
public void freePeaks()
public double getAvgError()
public double getCurrentError()
public double getOfflinePerformance()
public double getOfflineError()
public int getNumberOfEvals()
public boolean getRightPeak()
public double[][] getPeakPositions()
public double[] getPeakHeights()
public void printPeakData()
public int getCurrentPeak()
public int getMaximumPeak()
public double getMinCoordinate()
public double getMaxCoordinate()
public double getMaxHeight()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |