Modifier and Type | Method and Description |
---|---|
Constant[] |
ResultList.get(int resultNo)
Returns a substitution for all
Variables . |
Constant |
ResultList.get(int resultNo,
Variable var)
Returns a substitution for a single
Variable |
Modifier and Type | Method and Description |
---|---|
GroundAtom |
ReadableDatabase.getAtom(Predicate predicate,
Constant... arguments)
Returns the GroundAtom for the given Predicate and GroundTerms.
|
abstract GroundAtom |
Database.getAtom(StandardPredicate predicate,
boolean create,
Constant... arguments) |
boolean |
Database.hasAtom(StandardPredicate predicate,
Constant... arguments) |
boolean |
ReadableDatabase.hasAtom(StandardPredicate predicate,
Constant... arguments)
Check to see if a ground atom exists in the database.
|
Modifier and Type | Method and Description |
---|---|
void |
DatabasePopulator.populate(QueryAtom qAtom,
Map<Variable,Set<Constant>> substitutions)
|
Modifier and Type | Method and Description |
---|---|
GroundAtom |
SimpleAtomManager.getAtom(Predicate predicate,
Constant... arguments) |
GroundAtom |
LazyAtomManager.getAtom(Predicate predicate,
Constant... arguments) |
GroundAtom |
PersistedAtomManager.getAtom(Predicate predicate,
Constant... arguments) |
abstract GroundAtom |
AtomManager.getAtom(Predicate predicate,
Constant... arguments)
Returns the GroundAtom for the given Predicate and GroundTerms.
|
Modifier and Type | Method and Description |
---|---|
Constant[] |
RDBMSResultList.get(int resultNo) |
Constant |
RDBMSResultList.get(int resultNo,
Variable var) |
Modifier and Type | Method and Description |
---|---|
void |
RDBMSResultList.addResult(Constant[] res) |
GroundAtom |
RDBMSDatabase.getAtom(Predicate predicate,
Constant... arguments) |
GroundAtom |
RDBMSDatabase.getAtom(StandardPredicate predicate,
boolean create,
Constant... arguments) |
Modifier and Type | Method and Description |
---|---|
Constant[] |
GroundAtom.getArguments() |
Modifier and Type | Method and Description |
---|---|
GroundAtom |
QueryAtom.ground(AtomManager atomManager,
ResultList res,
int resultIndex,
Constant[] newArgs)
Ground using the passed in buffer.
|
ObservedAtom |
AtomCache.instantiateObservedAtom(Predicate predicate,
Constant[] args,
double value)
Instantiates an ObservedAtom and stores it in this AtomCache.
|
RandomVariableAtom |
AtomCache.instantiateRandomVariableAtom(StandardPredicate predicate,
Constant[] args,
double value)
Instantiates a RandomVariableAtom and stores it in this AtomCache.
|
Constructor and Description |
---|
GroundAtom(Predicate predicate,
Constant[] args,
Database db,
double value) |
ObservedAtom(Predicate p,
Constant[] args,
Database db,
double value) |
RandomVariableAtom(StandardPredicate p,
Constant[] args,
Database db,
double value) |
Modifier and Type | Method and Description |
---|---|
double |
ExternalFunction.getValue(ReadableDatabase db,
Constant... args) |
Modifier and Type | Method and Description |
---|---|
abstract double |
FunctionalPredicate.computeValue(ReadableDatabase db,
Constant... args)
Computes the truth value of this Predicate with the given arguments.
|
double |
ExternalFunctionalPredicate.computeValue(ReadableDatabase db,
Constant... args) |
Modifier and Type | Interface and Description |
---|---|
interface |
Attribute
A
Constant that is a value, as opposed to a unique identifier. |
Modifier and Type | Class and Description |
---|---|
class |
DateAttribute
An
Attribute that encapsulates a Date. |
class |
DoubleAttribute
An
Attribute that encapsulates a Double. |
class |
IntegerAttribute
An
Attribute that encapsulates an Integer. |
class |
LongAttribute
An
Attribute that encapsulates a Double. |
class |
StringAttribute
An
Attribute that encapsulates a String. |
class |
UniqueIntID |
class |
UniqueStringID |
Modifier and Type | Method and Description |
---|---|
static Constant |
ConstantType.getConstant(String value,
ConstantType type)
Convert a general string into the appropriate Constant.
|
Modifier and Type | Method and Description |
---|---|
static ConstantType |
ConstantType.getType(Constant term) |
abstract boolean |
ConstantType.isInstance(Constant term)
Returns whether a GroundTerm is of the type identified by this ArgumentType
|
Modifier and Type | Method and Description |
---|---|
Constant |
ModelLoader.visitConstant(PSLParser.ConstantContext ctx) |
Copyright © 2018 University of California, Santa Cruz. All rights reserved.