|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object scale.score.dependence.omega.omegaLib.OmegaLib
public final class OmegaLib
This class is defined as the basis for using the Omega Library. It's primary purpose is to hold the variables that were static before.
$Id: OmegaLib.java,v 1.6 2007-01-04 16:46:02 burrill Exp $
Copyright 2008 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
Field Summary | |
---|---|
boolean |
addingOuterEqualities
|
FAnd |
and_below_exists
|
static boolean |
classTrace
True if traces are to be performed. |
int |
conservative
|
boolean |
inApproximateMode
|
boolean |
inStridesAllowedMode
|
boolean |
leavePufsUntouched
|
static int |
maxKeys
|
static int |
maxVars
|
static int |
negInfinity
|
int |
newVar
|
boolean |
pleaseNoEqualitiesInSimplifiedProblems
|
static int |
posInfinity
|
int |
presLegalNegations
|
boolean |
printInCodeGenStyle
|
int |
skipFinalizationCheck
|
int |
skipSetChecks
|
int |
solveGEQDepth
|
int |
sRdtConstraints
|
boolean |
trace
|
int |
useUglyNames
|
int |
wildCardInstanceNumber
|
Constructor Summary | |
---|---|
OmegaLib(boolean trace)
|
Method Summary | |
---|---|
void |
appendIDS(VarDecl v,
int pos)
|
void |
clearIDS()
|
void |
decrement(java.lang.String name)
|
void |
decrement(VarDecl v)
|
void |
decrementPrintLevel()
|
void |
dumpInputVars(int n)
|
Problem |
getOriginalProblem()
|
int |
getPosIDS(int i)
|
int |
getProtoHash()
|
VarDecl |
getVarIDS(int i)
|
void |
increment(VarDecl v)
|
void |
incrementPrintLevel()
|
void |
initialize()
|
Vector<VarDecl> |
inputVars()
|
CName |
newCName(java.lang.String s)
|
VarDecl |
newInputVar(int i)
|
VarDecl |
newOutputVar(int i)
|
Vector<VarDecl> |
outputVars()
|
void |
printHead()
|
void |
putIDS(VarDecl v,
int pos,
int index)
|
int |
resetPrototypes(int hashVersion,
Problem prob)
|
void |
setOriginalProblem(Problem prob)
|
void |
setPrintLevel(int printLevel)
|
void |
usePrototype(int hashCode,
Equation eqe,
int[] packing,
int topVar,
int nVars)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static boolean classTrace
public static final int posInfinity
public static final int negInfinity
public static final int maxKeys
public static final int maxVars
public boolean pleaseNoEqualitiesInSimplifiedProblems
public boolean printInCodeGenStyle
public boolean leavePufsUntouched
public boolean addingOuterEqualities
public boolean inApproximateMode
public boolean inStridesAllowedMode
public boolean trace
public int sRdtConstraints
public int skipSetChecks
public int skipFinalizationCheck
public int presLegalNegations
public int wildCardInstanceNumber
public int useUglyNames
public int solveGEQDepth
public int conservative
public int newVar
public FAnd and_below_exists
Constructor Detail |
---|
public OmegaLib(boolean trace)
Method Detail |
---|
public void initialize()
public void setPrintLevel(int printLevel)
public void incrementPrintLevel()
public void decrementPrintLevel()
public void printHead()
public VarDecl newInputVar(int i)
public VarDecl newOutputVar(int i)
public Vector<VarDecl> inputVars()
public Vector<VarDecl> outputVars()
public void dumpInputVars(int n)
public void increment(VarDecl v)
public void decrement(VarDecl v)
public void decrement(java.lang.String name)
public CName newCName(java.lang.String s)
public void appendIDS(VarDecl v, int pos)
public void clearIDS()
public VarDecl getVarIDS(int i)
public int getPosIDS(int i)
public void putIDS(VarDecl v, int pos, int index)
public void usePrototype(int hashCode, Equation eqe, int[] packing, int topVar, int nVars)
public int getProtoHash()
public int resetPrototypes(int hashVersion, Problem prob)
public Problem getOriginalProblem()
public void setOriginalProblem(Problem prob)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |