edu.toronto.cs.tlq
Class PlaceholderReWriter

java.lang.Object
  extended by edu.toronto.cs.ctl.AbstractCTLVisitor
      extended by edu.toronto.cs.modelchecker.CloningRewriter
          extended by edu.toronto.cs.tlq.PlaceholderReWriter
All Implemented Interfaces:
CTLVisitor, CTLReWriter

public class PlaceholderReWriter
extends CloningRewriter

rewrites all placeholders into XCTL expressions as described in our papers


Constructor Summary
  PlaceholderReWriter(UpSetAlgebra _upSetAlgebra)
           
protected PlaceholderReWriter(UpSetAlgebra _upSetAlgebra, int _topBit)
           
 
Method Summary
 CTLNode getOneSolution(int bits, StatePresenter presenter, boolean negated)
           
 CTLNode getSolution(int bits, StatePresenter presenter)
           
 CTLNode[] getSolutions(AlgebraValue v, StatePresenter presenter)
           
 void renew()
           
 java.lang.Object visitPlaceholderNode(CTLPlaceholderNode node, java.lang.Object o)
           
 
Methods inherited from class edu.toronto.cs.modelchecker.CloningRewriter
rewrite, visitAFNode, visitAGNode, visitAndNode, visitARNode, visitAUiNode, visitAUNode, visitAWNode, visitAXNode, visitEFNode, visitEGNode, visitEqualsNode, visitERNode, visitEUiNode, visitEUNode, visitEWNode, visitEXNode, visitIffNode, visitImplNode, visitLeafNode, visitNegNode, visitOrNode, visitOverNode, visitPreEXNode, visitUnderNode
 
Methods inherited from class edu.toronto.cs.ctl.AbstractCTLVisitor
visit, visitAbstractNode, visitAtomPropNode, visitBinaryNode, visitConstantNode, visitCTLNode, visitMvSetNode, visitNode, visitUnaryNode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlaceholderReWriter

public PlaceholderReWriter(UpSetAlgebra _upSetAlgebra)

PlaceholderReWriter

protected PlaceholderReWriter(UpSetAlgebra _upSetAlgebra,
                              int _topBit)
Method Detail

renew

public void renew()

visitPlaceholderNode

public java.lang.Object visitPlaceholderNode(CTLPlaceholderNode node,
                                             java.lang.Object o)
Specified by:
visitPlaceholderNode in interface CTLVisitor
Overrides:
visitPlaceholderNode in class CloningRewriter

getSolutions

public CTLNode[] getSolutions(AlgebraValue v,
                              StatePresenter presenter)

getSolution

public CTLNode getSolution(int bits,
                           StatePresenter presenter)

getOneSolution

public CTLNode getOneSolution(int bits,
                              StatePresenter presenter,
                              boolean negated)