algo.examples
Class ProfileSolution

java.lang.Object
  extended by algo.examples.ProfileSolution
All Implemented Interfaces:
Solution, java.lang.Comparable<Solution>

public class ProfileSolution
extends java.lang.Object
implements Solution


Field Summary
static int AR
           
static int ARP
           
protected static java.lang.String baseName
           
protected static double cacheAccessEnergy
           
protected static double cacheAccessTime
           
protected static double cacheLineSize
           
protected static double[][] cacheMissesL1
           
protected static double cpuPower
           
static java.lang.String[] ddts
           
protected  java.util.ArrayList<java.lang.Integer> ddtsSelected
           
static int DLL
           
static int DLLAR
           
static int DLLARO
           
static int DLLO
           
protected static double dramAccessPower
           
protected static double dramAccessTime
           
protected static double dramBandwith
           
protected static int Na
           
protected static long[] Ne
           
protected static double[] NeSd
           
protected static double[] Nn
           
protected static double[] Nve
           
protected  boolean objectiveValid
           
protected  double objectiveValue
           
protected static java.lang.String outDir
           
protected static long[][] readsPerDdt
           
protected static long[] readsPlusWritesPerDdt
           
static int SLL
           
static int SLLAR
           
static int SLLARO
           
static int SLLO
           
protected static int[] Te
           
protected static int Tref
           
protected static int varCount
           
protected static long[][] writesPerDdt
           
 
Constructor Summary
ProfileSolution()
           
ProfileSolution(ProfileSolution src, java.lang.Integer newDdt)
           
 
Method Summary
 ProfileSolution clone()
           
 int compareTo(Solution rhs)
           
 double getBound()
           
 double getObjective()
           
 java.util.Enumeration<Solution> getSuccessors()
           
static void initializeProblem()
           
 boolean isComplete()
           
 boolean isFeasible()
           
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)
           
 java.lang.String toString()
           
static void updateCacheMisses()
           
 
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

varCount

protected static int varCount

baseName

protected static java.lang.String baseName

outDir

protected static java.lang.String outDir

cacheAccessTime

protected static double cacheAccessTime

dramAccessTime

protected static double dramAccessTime

cacheLineSize

protected static double cacheLineSize

dramBandwith

protected static double dramBandwith

cpuPower

protected static double cpuPower

cacheAccessEnergy

protected static double cacheAccessEnergy

dramAccessPower

protected static double dramAccessPower

Ne

protected static long[] Ne

NeSd

protected static double[] NeSd

Nve

protected static double[] Nve

Na

protected static int Na

Nn

protected static double[] Nn

Te

protected static int[] Te

Tref

protected static int Tref

readsPerDdt

protected static long[][] readsPerDdt

writesPerDdt

protected static long[][] writesPerDdt

readsPlusWritesPerDdt

protected static long[] readsPlusWritesPerDdt

cacheMissesL1

protected static double[][] cacheMissesL1

ddtsSelected

protected java.util.ArrayList<java.lang.Integer> ddtsSelected

objectiveValid

protected boolean objectiveValid

objectiveValue

protected double objectiveValue
Constructor Detail

ProfileSolution

public ProfileSolution()

ProfileSolution

public ProfileSolution(ProfileSolution src,
                       java.lang.Integer newDdt)
Method Detail

initializeProblem

public static void initializeProblem()

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 ProfileSolution clone()
Specified by:
clone in interface Solution
Overrides:
clone in class java.lang.Object

isFeasible

public boolean isFeasible()
Specified by:
isFeasible in interface Solution

isComplete

public boolean isComplete()
Specified by:
isComplete in interface Solution

getObjective

public double getObjective()
Specified by:
getObjective in interface Solution

getBound

public double getBound()
Specified by:
getBound in interface Solution

getSuccessors

public java.util.Enumeration<Solution> getSuccessors()
Specified by:
getSuccessors in interface Solution

compareTo

public int compareTo(Solution rhs)
Specified by:
compareTo in interface java.lang.Comparable<Solution>

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

main

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