|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--de.rwth.dfa.jvm.samples.CPAbstraction.CPFunction | +--de.rwth.dfa.jvm.samples.CFPAbstraction.ArithmeticFunction | +--de.rwth.dfa.jvm.samples.CFPAbstraction.NegationFunction
Negates a number.
Inner classes inherited from class de.rwth.domains.Function |
Function.Tools |
Fields inherited from class de.rwth.dfa.jvm.samples.CFPAbstraction.ArithmeticFunction |
n |
Fields inherited from class de.rwth.dfa.jvm.samples.CPAbstraction.CPFunction |
consume, produce |
Constructor Summary | |
CFPAbstraction.NegationFunction(int produce)
Creates a new NegationFunction instance. |
Method Summary | |
java.lang.Number |
evaluate(java.lang.Number[] values)
Supposed to do the actual operation. |
java.lang.String |
toString()
|
Methods inherited from class de.rwth.dfa.jvm.samples.CFPAbstraction.ArithmeticFunction |
apply |
Methods inherited from class de.rwth.dfa.jvm.samples.CPAbstraction.CPFunction |
apply, getDomain, getRange |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public CFPAbstraction.NegationFunction(int produce)
NegationFunction
instance.produce
- an int
valueMethod Detail |
public java.lang.Number evaluate(java.lang.Number[] values) throws FunctionException
CFPAbstraction.ArithmeticFunction
evaluate
in class CFPAbstraction.ArithmeticFunction
de.rwth.dfa.jvm.samples.CFPAbstraction.ArithmeticFunction
values
- a Number[]
valueNumber
valueFunctionException
- if an error occurspublic java.lang.String toString()
toString
in class CFPAbstraction.ArithmeticFunction
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |