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

java.lang.Object
  extended byedu.washington.cs.supple.render.AbstractCostFunction
      extended byedu.washington.cs.supple.wlib.java2.DesktopCostFunction
          extended byedu.washington.cs.supple.wlib.java2.DesktopAlignedCostFunction
All Implemented Interfaces:
CostFunction, VetoFunction

public class DesktopAlignedCostFunction
extends DesktopCostFunction

Author:
kgajos

Field Summary
 
Fields inherited from class edu.washington.cs.supple.render.AbstractCostFunction
frequencyCount, lastRoot, navCost, shortcutCost, similarityCost, trace, transitionCountFunction
 
Constructor Summary
DesktopAlignedCostFunction(Trace t)
           
 
Method Summary
 float getMatchCost(Widget widget)
           
 
Methods inherited from class edu.washington.cs.supple.wlib.java2.DesktopCostFunction
getNewNavigationCostFunction
 
Methods inherited from class edu.washington.cs.supple.render.AbstractCostFunction
ensureNavCostFunction, ensureShortcutCostFunction, ensureSimilarityCostFunction, getAssignmentCost, getHintCost, getShortcutCost, getShortcutCostFunction, getSimilarityCostFunction, getTransitionCountFunction, hasPrimitiveChild, isAcceptable, setShortcutCostFunction, setTransitionCountFunction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DesktopAlignedCostFunction

public DesktopAlignedCostFunction(Trace t)
Parameters:
t -
Method Detail

getMatchCost

public float getMatchCost(Widget widget)
Overrides:
getMatchCost in class DesktopCostFunction