zeus.concepts.fn
Class RealFn
java.lang.Object
zeus.concepts.fn.ValueFunction
zeus.concepts.fn.RealFn
- All Implemented Interfaces:
- NumericFn, PrimitiveFn, PrimitiveNumericFn
- public class RealFn
- extends ValueFunction
- implements PrimitiveFn, PrimitiveNumericFn
|
Field Summary |
protected double |
arg
|
| Fields inherited from class zeus.concepts.fn.ValueFunction |
AND, ARITH, BOOL, COMP, CONS, CONSB, DATE, ELSE, FACT, FIELD, FUNC, ID, ID_MAX, ID_MIN, IMPLY, INT, IS_DETERMINATE, LAND, LNOT, LOR, LVAR, METH, METHOD_LIST, OR, PD_MAX, PD_MIN, precedence, REAL, TIME, TO_STRING, type, TYPE, VECT |
|
Constructor Summary |
RealFn(double arg)
|
RealFn(java.lang.String arg)
|
| Methods inherited from class zeus.concepts.fn.ValueFunction |
baseID, duplicate, duplicate, evaluationFn, getArg, getID, getPD, invokeMethod, normalize, resolve, resolve, simplify, unifiesWith, variables |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
arg
protected double arg
RealFn
public RealFn(double arg)
RealFn
public RealFn(java.lang.String arg)
mirror
public ValueFunction mirror()
- Specified by:
mirror in class ValueFunction
toString
public java.lang.String toString()
getArg
java.lang.Object getArg(int position)
- Specified by:
getArg in class ValueFunction
getValue
public double getValue()
doubleValue
public double doubleValue()
- Specified by:
doubleValue in interface PrimitiveNumericFn
intValue
public int intValue()
- Specified by:
intValue in interface PrimitiveNumericFn
longValue
public long longValue()
- Specified by:
longValue in interface PrimitiveNumericFn
references
public boolean references(ValueFunction var)
- Specified by:
references in class ValueFunction
isDeterminate
public boolean isDeterminate()
- Specified by:
isDeterminate in class ValueFunction
equals
public boolean equals(java.lang.Object any)
less
public boolean less(java.lang.Object any)
- Specified by:
less in interface PrimitiveFn
unify
ValueFunction unify(ValueFunction fn,
Bindings b)
- Specified by:
unify in class ValueFunction
Copyright © 2000-2003 BT Exact Technologies. All Rights Reserved.