Package eu.simuline.relana.expressions
Class FormulaDecl
- java.lang.Object
-
- eu.simuline.relana.expressions.FormulaDecl
-
- Direct Known Subclasses:
FormulaDecl.Comp
,FormulaDecl.Const
,FormulaDecl.Var
public abstract class FormulaDecl extends Object
Represents a formula declaration which is either a constant, a variable or composed via an operator. Note the difference to aFormula
. Created: Fri Apr 29 10:56:37 2005- Version:
- 1.0
- Author:
- Ernst Reissner
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
FormulaDecl.Comp
Represents composite formulae consisting of a operationFormulaDecl.Comp.oper
and a set of argumentsFormulaDecl.Comp.args
.(package private) static class
FormulaDecl.Const
Represents atomic formulae consisting of a constant only.(package private) static class
FormulaDecl.Var
Represents atomic formulae consisting of a variable only.
-
Constructor Summary
Constructors Modifier Constructor Description private
FormulaDecl()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
static FormulaDecl
getComp(Operation oper, Set<FormulaDecl> args)
static FormulaDecl
getConst(Type type, Set<Deficiency> val)
static FormulaDecl
getVar(CClass.SClassDecl decl, List<String> path)
int
hashCode()
abstract Formula
resolve(CInstance cInst)
abstract Type
retType()
-
-
-
Method Detail
-
getConst
public static FormulaDecl getConst(Type type, Set<Deficiency> val)
-
getVar
public static FormulaDecl getVar(CClass.SClassDecl decl, List<String> path)
-
getComp
public static FormulaDecl getComp(Operation oper, Set<FormulaDecl> args)
-
retType
public abstract Type retType()
-
-