|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object scale.score.dependence.omega.omegaLib.ConstraintHandle
public abstract class ConstraintHandle
ConstraintHandle.
$Id: ConstraintHandle.java,v 1.7 2005-02-07 21:28:39 burrill Exp $
Copyright 2005 by the Scale Compiler Group,
Department of Computer Science
University of Massachusetts,
Amherst MA. 01003, USA
All Rights Reserved.
This version of the Omega Libray is a translation from C++ to Java of the Omega Library developed at the University of Maryland.
Copyright (C) 1994-1996 by the Omega ProjectAll rights reserved.
NOTICE: This software is provided ``as is'', without any warranty, including any implied warranty for merchantability or fitness for a particular purpose. Under no circumstances shall the Omega Project or its agents be liable for any use of, misuse of, or inability to use this software, including incidental and consequential damages.
License is hereby given to use, modify, and redistribute this software, in whole or in part, for any purpose, commercial or non-commercial, provided that the user agrees to the terms of this copyright notice, including disclaimer of warranty, and provided that this copyright notice, including disclaimer of warranty, is preserved in the source code and documentation of anything derived from this software. Any redistributor of this software or anything derived from this software assumes responsibility for ensuring that any parties to whom such a redistribution is made are fully aware of the terms of this license and disclaimer.
The Omega project can be contacted at omega@cs.umd.edu or http://www.cs.umd.edu/projects/omega
Constructor Summary | |
---|---|
ConstraintHandle(Conjunct c,
Equation eqns)
|
Method Summary | |
---|---|
void |
copyConstraint(Conjunct from,
Equation eq)
|
void |
copyConstraint(ConstraintHandle from)
|
int |
getCoefficient(VarDecl v)
|
int |
getConstant_during_simplify()
|
int |
getConstant()
|
VarDecl |
getLocal(GlobalVarDecl G)
|
VarDecl |
getLocal(GlobalVarDecl G,
int of)
|
boolean |
hasWildcards()
|
boolean |
isConstant(VarDecl v)
|
int |
maxTuplePosition()
|
void |
multiply(int multiplier)
|
java.lang.String |
printEQtoString()
|
java.lang.String |
printGEQtoString()
|
java.lang.String |
printTermToString()
|
abstract java.lang.String |
printToString()
|
RelBody |
relation()
|
void |
updateCoefDuringSimplify(VarDecl v,
int delta)
|
void |
updateCoefficient(VarDecl v,
int delta)
|
void |
updateConstant(int delta)
|
void |
updateConstantDuringSimplify(int delta)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConstraintHandle(Conjunct c, Equation eqns)
Method Detail |
---|
public abstract java.lang.String printToString()
public final java.lang.String printGEQtoString()
public final java.lang.String printEQtoString()
public final java.lang.String printTermToString()
public final void updateCoefficient(VarDecl v, int delta)
public final void updateConstant(int delta)
public final int getCoefficient(VarDecl v)
public final int getConstant()
public final boolean hasWildcards()
public final int maxTuplePosition()
public final boolean isConstant(VarDecl v)
public final VarDecl getLocal(GlobalVarDecl G)
public final VarDecl getLocal(GlobalVarDecl G, int of)
public final void multiply(int multiplier)
public final RelBody relation()
public final void updateCoefDuringSimplify(VarDecl v, int delta)
public final void updateConstantDuringSimplify(int delta)
public final int getConstant_during_simplify()
public final void copyConstraint(ConstraintHandle from)
public final void copyConstraint(Conjunct from, Equation eq)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |