net.sf.bddbddb.ir.lowlevel
Class Replace
java.lang.Object
net.sf.bddbddb.ir.Operation
net.sf.bddbddb.ir.lowlevel.LowLevelOperation
net.sf.bddbddb.ir.lowlevel.Replace
- All Implemented Interfaces:
- IterationElement
public class Replace
- extends LowLevelOperation
Replace
- Version:
- $Id: Replace.java 445 2005-02-21 02:32:50Z cs343 $
- Author:
- John Whaley
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Replace
public Replace(BDDRelation r0,
BDDRelation r1)
- Parameters:
r0
- r1
-
setPairing
public net.sf.javabdd.BDDPairing setPairing()
visit
public java.lang.Object visit(LowLevelOperationVisitor i)
- Specified by:
visit
in class LowLevelOperation
- Parameters:
i
- visitor
- Returns:
- the result from the visitor
toString
public java.lang.String toString()
- Specified by:
toString
in class Operation
getRelationDest
public Relation getRelationDest()
- Specified by:
getRelationDest
in class Operation
- Returns:
- the destination relation of this operation, or null
setRelationDest
public void setRelationDest(Relation r0)
- Specified by:
setRelationDest
in class Operation
getSrc
public BDDRelation getSrc()
- Returns:
- the source relation
getSrcs
public java.util.List getSrcs()
- Specified by:
getSrcs
in class Operation
- Returns:
- the source relation of this operation
replaceSrc
public void replaceSrc(Relation r_old,
Relation r_new)
- Specified by:
replaceSrc
in class Operation
getExpressionString
public java.lang.String getExpressionString()
- Specified by:
getExpressionString
in class Operation
- Returns:
- the expression in string form
getPairing
public net.sf.javabdd.BDDPairing getPairing()
- Returns:
- the pairing
copy
public Operation copy()
- Specified by:
copy
in class Operation
Copyright © 2004-2008 Stanford SUIF Compiler Group. All Rights Reserved.