moea.moga.examples
Class Profile

java.lang.Object
  extended by moea.commons.Entity
      extended by moea.commons.Individual
          extended by moea.moga.genome.Chromosome
              extended by moea.moga.examples.Profile
Direct Known Subclasses:
AutoThreadsEmulator, AutoThreadsEmulator2, ManualThreadsEmulator, ProfileAutoThreads, ProfileEvaluation, ProfileManualThreads, ProfileManualThreadsEQ, ProfileMonoThreaded

public class Profile
extends Chromosome


Field Summary
static int AR
           
static int ARP
           
static double cacheAccessEnergy
           
static double cacheAccessTime
           
static double cacheLineSize
           
static double[][] cacheMissesL1
           
static double cpuPower
           
static java.lang.String[] ddts
           
static int DLL
           
static int DLLAR
           
static int DLLARO
           
static int DLLO
           
static double dramAccessPower
           
static double dramAccessTime
           
static double dramBandwith
           
static int Na
           
static long[] Ne
           
static double[] NeSd
           
static double[] Nn
           
static double[] Nve
           
static long[][] readsPerDdt
           
static long[] readsPlusWritesPerDdt
           
static int SLL
           
static int SLLAR
           
static int SLLARO
           
static int SLLO
           
static int[] Te
           
static int Tref
           
static long[][] writesPerDdt
           
 
Fields inherited from class moea.commons.Individual
M, x, xL, xU
 
Fields inherited from class moea.commons.Entity
N, objectiveVector, properties, scoresValid
 
Constructor Summary
Profile()
           
Profile(Profile src)
           
Profile(Value[] x)
           
 
Method Summary
static double calculateMean(java.util.ArrayList<java.lang.Double> list)
           
static double calculateStd(java.util.ArrayList<java.lang.Double> list, double mean)
           
 Profile clone()
           
 void evaluate()
           
static int getMigrationRate(int popSize)
           
static int getSubPopSize(int popSize, int numThreads)
           
static void initializeProblem(java.lang.String proPath)
           
static double[] loadArrayAsDouble(org.w3c.dom.Element xmlProfileAnalyzer, java.lang.String arrayName)
           
static int[] loadArrayAsInteger(org.w3c.dom.Element xmlProfileAnalyzer, java.lang.String arrayName)
           
static long[] loadArrayAsLong(org.w3c.dom.Element xmlProfileAnalyzer, java.lang.String arrayName)
           
static long[][] loadMatrixAsLong(org.w3c.dom.Element xmlProfileAnalyzer, java.lang.String matrixName)
           
static int loadScalarAsInteger(org.w3c.dom.Element xmlProfileAnalyzer, java.lang.String scalarName)
           
static void main(java.lang.String[] args)
           
static java.lang.String ParetoFrontToString(Population<Chromosome> pop)
           
static java.lang.String PopulationToString(Population<Chromosome> pop)
           
static void saveUniformObjectives(java.lang.String proPath)
           
static void updateCacheMisses()
           
 
Methods inherited from class moea.moga.genome.Chromosome
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

AR

public static final int AR
See Also:
Constant Field Values

ARP

public static final int ARP
See Also:
Constant Field Values

SLL

public static final int SLL
See Also:
Constant Field Values

DLL

public static final int DLL
See Also:
Constant Field Values

SLLO

public static final int SLLO
See Also:
Constant Field Values

DLLO

public static final int DLLO
See Also:
Constant Field Values

SLLAR

public static final int SLLAR
See Also:
Constant Field Values

DLLAR

public static final int DLLAR
See Also:
Constant Field Values

SLLARO

public static final int SLLARO
See Also:
Constant Field Values

DLLARO

public static final int DLLARO
See Also:
Constant Field Values

ddts

public static final java.lang.String[] ddts

cacheAccessTime

public static double cacheAccessTime

dramAccessTime

public static double dramAccessTime

cacheLineSize

public static double cacheLineSize

dramBandwith

public static double dramBandwith

cpuPower

public static double cpuPower

cacheAccessEnergy

public static double cacheAccessEnergy

dramAccessPower

public static double dramAccessPower

Ne

public static long[] Ne

NeSd

public static double[] NeSd

Nve

public static double[] Nve

Na

public static int Na

Nn

public static double[] Nn

Te

public static int[] Te

Tref

public static int Tref

readsPerDdt

public static long[][] readsPerDdt

writesPerDdt

public static long[][] writesPerDdt

readsPlusWritesPerDdt

public static long[] readsPlusWritesPerDdt

cacheMissesL1

public static double[][] cacheMissesL1
Constructor Detail

Profile

public Profile()

Profile

public Profile(Value[] x)

Profile

public Profile(Profile src)
Method Detail

initializeProblem

public static void initializeProblem(java.lang.String proPath)

loadScalarAsInteger

public static int loadScalarAsInteger(org.w3c.dom.Element xmlProfileAnalyzer,
                                      java.lang.String scalarName)

loadArrayAsInteger

public static int[] loadArrayAsInteger(org.w3c.dom.Element xmlProfileAnalyzer,
                                       java.lang.String arrayName)

loadArrayAsLong

public static long[] loadArrayAsLong(org.w3c.dom.Element xmlProfileAnalyzer,
                                     java.lang.String arrayName)

loadArrayAsDouble

public static double[] loadArrayAsDouble(org.w3c.dom.Element xmlProfileAnalyzer,
                                         java.lang.String arrayName)

loadMatrixAsLong

public static long[][] loadMatrixAsLong(org.w3c.dom.Element xmlProfileAnalyzer,
                                        java.lang.String matrixName)

updateCacheMisses

public static void updateCacheMisses()

clone

public Profile clone()
Specified by:
clone in class Chromosome

evaluate

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

main

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

calculateMean

public static double calculateMean(java.util.ArrayList<java.lang.Double> list)

calculateStd

public static double calculateStd(java.util.ArrayList<java.lang.Double> list,
                                  double mean)

ParetoFrontToString

public static java.lang.String ParetoFrontToString(Population<Chromosome> pop)

PopulationToString

public static java.lang.String PopulationToString(Population<Chromosome> pop)

saveUniformObjectives

public static void saveUniformObjectives(java.lang.String proPath)
                                  throws java.lang.Exception
Throws:
java.lang.Exception

getSubPopSize

public static int getSubPopSize(int popSize,
                                int numThreads)

getMigrationRate

public static int getMigrationRate(int popSize)