|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmoea.commons.Entity
moea.commons.Individual
moea.commons.examples.TestFunction<I>
public class TestFunction<I extends Individual>
| Nested Class Summary | |
|---|---|
static class |
TestFunction.KindOfTestFunction
|
| Field Summary | |
|---|---|
static TestFunction.KindOfTestFunction |
kindOfTestFunction
|
| Fields inherited from class moea.commons.Individual |
|---|
M, x, xL, xU |
| Fields inherited from class moea.commons.Entity |
|---|
N, objectiveVector, properties, scoresValid |
| Constructor Summary | |
|---|---|
TestFunction()
|
|
TestFunction(java.lang.String[] args)
|
|
| Method Summary | |
|---|---|
double |
calculateDiversity(Population<I> pop,
Population<TestFunction<I>> pof)
|
double |
calculateGenerationalDistance(Population<I> pop,
Population<TestFunction<I>> pof)
|
void |
evaluate()
|
void |
evaluateFunction(Value[] x,
ObjectiveVector objs)
|
Population<TestFunction<I>> |
generateParetoOptimalFront(int num)
|
ObjectiveVector |
getObjectiveVector()
|
Population<TestFunction<I>> |
loadParetoOptimalFront(java.lang.String filePath)
|
void |
savePopInFile(Population<I> pop,
java.lang.String filePath)
|
| Methods inherited from class moea.commons.Individual |
|---|
getM, toString |
| Methods inherited from class moea.commons.Entity |
|---|
compareTo, getN, getProperty, invalidateScores, setProperty |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static TestFunction.KindOfTestFunction kindOfTestFunction
| Constructor Detail |
|---|
public TestFunction()
public TestFunction(java.lang.String[] args)
| Method Detail |
|---|
public void evaluate()
evaluate in class Entity
public void evaluateFunction(Value[] x,
ObjectiveVector objs)
public ObjectiveVector getObjectiveVector()
getObjectiveVector in class Entity
public Population<TestFunction<I>> loadParetoOptimalFront(java.lang.String filePath)
throws java.lang.Exception
java.lang.Exceptionpublic Population<TestFunction<I>> generateParetoOptimalFront(int num)
public double calculateGenerationalDistance(Population<I> pop,
Population<TestFunction<I>> pof)
public double calculateDiversity(Population<I> pop,
Population<TestFunction<I>> pof)
public void savePopInFile(Population<I> pop,
java.lang.String filePath)
throws java.lang.Exception
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||