edu.toronto.cs.yasm.wp
Class DCWPComputer

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

public class DCWPComputer
extends BaseWPComputer
implements WPComputer

Dependent (sequential) composition WP Computer.

Version:
Author:
Kelvin Ku (kelvin@cs.toronto.edu)

Constructor Summary
DCWPComputer(Expr stmtList)
           
 
Method Summary
 Expr computeWP(Expr e)
          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

DCWPComputer

public DCWPComputer(Expr stmtList)
Method Detail

computeWP

public Expr computeWP(Expr e)
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:
e - an Expr value
Returns:
an Expr value