edu.toronto.cs.yasm.pgenerator
Class WPPredicateGenerator.WPDiff

java.lang.Object
  extended by edu.toronto.cs.yasm.pgenerator.BasePredicateGenerator
      extended by edu.toronto.cs.yasm.pgenerator.WPPredicateGenerator
          extended by edu.toronto.cs.yasm.pgenerator.WPPredicateGenerator.WPDiff
All Implemented Interfaces:
PredicateGenerator
Enclosing class:
WPPredicateGenerator

public static class WPPredicateGenerator.WPDiff
extends WPPredicateGenerator


Nested Class Summary
 
Nested classes/interfaces inherited from class edu.toronto.cs.yasm.pgenerator.WPPredicateGenerator
WPPredicateGenerator.WPDiff, WPPredicateGenerator.WPSame
 
Field Summary
 
Fields inherited from class edu.toronto.cs.yasm.pgenerator.BasePredicateGenerator
cStatePred, cvclConverter, existingPred, newPreds, pProgram, pStatePred, stmt, vc, wp
 
Constructor Summary
WPPredicateGenerator.WPDiff(PProgram p, PrllAsmtPStmt _stmt, PredicateRefiner _refiner, WPComputer _wp, CVectorExpr _pStatePred, CVectorExpr _cStatePred)
           
 
Method Summary
protected  java.util.List findSuspects(CVectorExpr a, CVectorExpr b)
          This returns a list of predicates that are different before and after the maybe transition
 
Methods inherited from class edu.toronto.cs.yasm.pgenerator.WPPredicateGenerator
find, maybeTransition, newPred
 
Methods inherited from class edu.toronto.cs.yasm.pgenerator.BasePredicateGenerator
computeWP, getNewPreds, getPProgram, hasPredicate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WPPredicateGenerator.WPDiff

public WPPredicateGenerator.WPDiff(PProgram p,
                                   PrllAsmtPStmt _stmt,
                                   PredicateRefiner _refiner,
                                   WPComputer _wp,
                                   CVectorExpr _pStatePred,
                                   CVectorExpr _cStatePred)
Method Detail

findSuspects

protected java.util.List findSuspects(CVectorExpr a,
                                      CVectorExpr b)
This returns a list of predicates that are different before and after the maybe transition

Specified by:
findSuspects in class WPPredicateGenerator
Parameters:
a - a CVectorExpr value
b - a CVectorExpr value
Returns:
a List value