edu.washington.cs.supple.wlib.java2
Class DesktopFactoredCostFunction

java.lang.Object
  extended byedu.washington.cs.supple.render.AbstractFactoredCostFunction
      extended byedu.washington.cs.supple.wlib.java2.DesktopFactoredCostFunction
All Implemented Interfaces:
java.lang.Cloneable, FactoredCostFunction, java.io.Serializable

public class DesktopFactoredCostFunction
extends AbstractFactoredCostFunction

Author:
kgajos Factored cost function for desktop devices
See Also:
Serialized Form

Field Summary
protected  int computationType
           
 
Fields inherited from class edu.washington.cs.supple.render.AbstractFactoredCostFunction
factors, lookup, trace
 
Constructor Summary
DesktopFactoredCostFunction(Trace trace)
          Initialize the factored desktop cost function
 
Method Summary
protected  void init()
          Initializes the cost function (to be overriden by children)
 
Methods inherited from class edu.washington.cs.supple.render.AbstractFactoredCostFunction
clone, getFactorByName, getFactors, getFactors, getFactors, getFactors, getFactors, prettyPrint, setState, updateLookupTable
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

computationType

protected int computationType
Constructor Detail

DesktopFactoredCostFunction

public DesktopFactoredCostFunction(Trace trace)
Initialize the factored desktop cost function

Parameters:
trace - a usage trace
Method Detail

init

protected void init()
Description copied from class: AbstractFactoredCostFunction
Initializes the cost function (to be overriden by children)

Specified by:
init in class AbstractFactoredCostFunction