edu.toronto.cs.yasm.wp
Class MemoryModelWPComputer

java.lang.Object
  extended by edu.toronto.cs.yasm.wp.BaseWPComputer
      extended by edu.toronto.cs.yasm.wp.MemoryModelWPComputer
All Implemented Interfaces:
WPComputer

public class MemoryModelWPComputer
extends BaseWPComputer
implements WPComputer


Constructor Summary
MemoryModelWPComputer(MemoryModel _mmModel)
           
 
Method Summary
 Expr computeWP(Expr expr)
          computes the weakest pre-condition of the expr
 
Methods inherited from class edu.toronto.cs.yasm.wp.BaseWPComputer
computeWP, computeWP
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface edu.toronto.cs.yasm.wp.WPComputer
computeWP, computeWP
 

Constructor Detail

MemoryModelWPComputer

public MemoryModelWPComputer(MemoryModel _mmModel)
Method Detail

computeWP

public Expr computeWP(Expr expr)
Description copied from interface: WPComputer
computes the weakest pre-condition of the expr

Specified by:
computeWP in interface WPComputer
Specified by:
computeWP in class BaseWPComputer
Parameters:
expr - an Expr value
Returns:
an Expr value