moea.moga.examples
Class ChowPaper

java.lang.Object
  extended by moea.commons.Entity
      extended by moea.commons.Individual
          extended by moea.moga.genome.Chromosome
              extended by moea.moga.genome.ChromosomeWithMapping
                  extended by moea.moga.examples.ChowPaper
Direct Known Subclasses:
ChowPaperThreaded

public class ChowPaper
extends ChromosomeWithMapping


Nested Class Summary
protected static class ChowPaper.KindOfFunction
           
 
Nested classes/interfaces inherited from class moea.moga.genome.ChromosomeWithMapping
ChromosomeWithMapping.MappingMethod
 
Field Summary
protected static ChowPaper.KindOfFunction kindOfFunction
           
protected static int numTrials
           
 
Fields inherited from class moea.moga.genome.ChromosomeWithMapping
mapping, mappingMethod
 
Fields inherited from class moea.commons.Individual
M, x, xL, xU
 
Fields inherited from class moea.commons.Entity
N, objectiveVector, properties, scoresValid
 
Constructor Summary
ChowPaper()
           
ChowPaper(ChowPaper src)
           
 
Method Summary
static double bad(int parametro)
           
 ChowPaper clone()
           
 void evaluate()
           
static void initializeProblem(java.lang.String[] args)
           
static boolean isOptimal(double value)
           
static void main(java.lang.String[] args)
           
static void printStats(java.io.BufferedWriter out, int[] array)
           
static double ugly(int parametro)
           
 
Methods inherited from class moea.moga.genome.ChromosomeWithMapping
crossover, mutate
 
Methods inherited from class moea.commons.Individual
getM, toString
 
Methods inherited from class moea.commons.Entity
compareTo, getN, getObjectiveVector, getProperty, invalidateScores, setProperty
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

kindOfFunction

protected static ChowPaper.KindOfFunction kindOfFunction

numTrials

protected static int numTrials
Constructor Detail

ChowPaper

public ChowPaper()

ChowPaper

public ChowPaper(ChowPaper src)
Method Detail

clone

public ChowPaper clone()
Specified by:
clone in class ChromosomeWithMapping

initializeProblem

public static void initializeProblem(java.lang.String[] args)
                              throws java.lang.Exception
Throws:
java.lang.Exception

evaluate

public void evaluate()
Specified by:
evaluate in class Entity

printStats

public static void printStats(java.io.BufferedWriter out,
                              int[] array)
                       throws java.lang.Exception
Throws:
java.lang.Exception

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception

isOptimal

public static boolean isOptimal(double value)

bad

public static double bad(int parametro)

ugly

public static double ugly(int parametro)