public class QueryAtom extends Atom
Arguments to a QueryAtom can be a mix of Variables
and
GroundTerms
. In other words, they are not necessarily
ground and can be used for matching GroundAtoms in a query.
Constructor and Description |
---|
QueryAtom(Predicate predicate,
Term... args) |
Modifier and Type | Method and Description |
---|---|
void |
assume(Predicate predicate,
Term... args)
Have this QueryAtom assume new values.
|
VariableTypeMap |
collectVariables(VariableTypeMap varMap)
Adds the
Variables |
GroundAtom |
ground(AtomManager atomManager,
ResultList res,
int resultIndex) |
GroundAtom |
ground(AtomManager atomManager,
ResultList res,
int resultIndex,
Constant[] newArgs)
Ground using the passed in buffer.
|
public void assume(Predicate predicate, Term... args)
public GroundAtom ground(AtomManager atomManager, ResultList res, int resultIndex)
public GroundAtom ground(AtomManager atomManager, ResultList res, int resultIndex, Constant[] newArgs)
public VariableTypeMap collectVariables(VariableTypeMap varMap)
Formula
Variables
Copyright © 2018 University of California, Santa Cruz. All rights reserved.