public abstract class FunctionalPredicate extends Predicate
Modifier | Constructor and Description |
---|---|
protected |
FunctionalPredicate(String name,
ConstantType[] types) |
protected |
FunctionalPredicate(String name,
ConstantType[] types,
boolean checkName) |
Modifier and Type | Method and Description |
---|---|
abstract double |
computeValue(ReadableDatabase db,
Constant... args)
Computes the truth value of this Predicate with the given arguments.
|
clearForTesting, get, getArgumentType, getArity, getName, toString
protected FunctionalPredicate(String name, ConstantType[] types)
protected FunctionalPredicate(String name, ConstantType[] types, boolean checkName)
public abstract double computeValue(ReadableDatabase db, Constant... args)
db
- the connection to the database which is running this queryargs
- the arguments for which the truth value will be computedCopyright © 2018 University of California, Santa Cruz. All rights reserved.