net.sf.bddbddb.ir
Class DomainAssignment
java.lang.Object
net.sf.bddbddb.ir.DomainAssignment
- All Implemented Interfaces:
- DynamicOperationVisitor, HighLevelOperationVisitor, LowLevelOperationVisitor, OperationVisitor
- Direct Known Subclasses:
- UFDomainAssignment
public abstract class DomainAssignment
- extends java.lang.Object
- implements OperationVisitor
DomainAssignment
- Version:
- $Id: DomainAssignment.java 522 2005-04-29 02:34:44Z joewhaley $
- Author:
- John Whaley
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DomainAssignment
public DomainAssignment(Solver s)
DomainAssignment
public DomainAssignment(Solver s,
PartialOrder.Constraints[] constraints)
doAssignment
public abstract void doAssignment()
addConstraints
public void addConstraints(IterationList list)
forceConstraints
public void forceConstraints(Relation r)
visit
public java.lang.Object visit(Join op)
- Specified by:
visit
in interface HighLevelOperationVisitor
- Parameters:
op
- the operation
- Returns:
- the result
visit
public java.lang.Object visit(Project op)
- Specified by:
visit
in interface HighLevelOperationVisitor
- Parameters:
op
- the operation
- Returns:
- the result
visit
public java.lang.Object visit(BDDProject op)
- Specified by:
visit
in interface LowLevelOperationVisitor
visit
public java.lang.Object visit(Rename op)
- Specified by:
visit
in interface HighLevelOperationVisitor
- Parameters:
op
- the operation
- Returns:
- the result
visit
public java.lang.Object visit(Union op)
- Specified by:
visit
in interface HighLevelOperationVisitor
- Parameters:
op
- the operation
- Returns:
- the result
visit
public java.lang.Object visit(Difference op)
- Specified by:
visit
in interface HighLevelOperationVisitor
- Parameters:
op
- the operation
- Returns:
- the result
visit
public java.lang.Object visit(JoinConstant op)
- Specified by:
visit
in interface HighLevelOperationVisitor
- Parameters:
op
- the operation
- Returns:
- the result
visit
public java.lang.Object visit(GenConstant op)
- Specified by:
visit
in interface HighLevelOperationVisitor
- Parameters:
op
- the operation
- Returns:
- the result
visit
public java.lang.Object visit(Free op)
- Specified by:
visit
in interface HighLevelOperationVisitor
- Parameters:
op
- the operation
- Returns:
- the result
visit
public java.lang.Object visit(Universe op)
- Specified by:
visit
in interface HighLevelOperationVisitor
- Parameters:
op
- the operation
- Returns:
- the result
visit
public java.lang.Object visit(Zero op)
- Specified by:
visit
in interface HighLevelOperationVisitor
- Parameters:
op
- the operation
- Returns:
- the result
visit
public java.lang.Object visit(Invert op)
- Specified by:
visit
in interface HighLevelOperationVisitor
- Parameters:
op
- the operation
- Returns:
- the result
visit
public java.lang.Object visit(Copy op)
- Specified by:
visit
in interface HighLevelOperationVisitor
- Parameters:
op
- the operation
- Returns:
- the result
visit
public java.lang.Object visit(Replace op)
- Specified by:
visit
in interface LowLevelOperationVisitor
- Returns:
- the result
visit
public java.lang.Object visit(Load op)
- Specified by:
visit
in interface HighLevelOperationVisitor
- Parameters:
op
- the operation
- Returns:
- the result
visit
public java.lang.Object visit(Save op)
- Specified by:
visit
in interface HighLevelOperationVisitor
- Parameters:
op
- the operation
- Returns:
- the result
visit
public java.lang.Object visit(ApplyEx op)
- Specified by:
visit
in interface LowLevelOperationVisitor
- Returns:
- the result
visit
public java.lang.Object visit(If op)
- Specified by:
visit
in interface DynamicOperationVisitor
- Returns:
- the result
visit
public java.lang.Object visit(Nop op)
- Specified by:
visit
in interface DynamicOperationVisitor
- Returns:
- the result
saveDomainAssignment
public abstract void saveDomainAssignment(java.io.BufferedWriter out)
throws java.io.IOException
- Throws:
java.io.IOException
loadDomainAssignment
public void loadDomainAssignment(java.io.BufferedReader in)
throws java.io.IOException
- Throws:
java.io.IOException
setVariableOrdering
public abstract void setVariableOrdering()
Copyright © 2004-2008 Stanford SUIF Compiler Group. All Rights Reserved.