public class TripleMatchFrame extends GenericTripleMatchFrame
This is used in the inner loop of the interpreter and so is a pure data structure not an abstract data type and assumes privileged access to the interpreter state.
| Constructor and Description |
|---|
TripleMatchFrame(LPInterpreter interpreter)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Override close method to reclaim the iterator.
|
void |
init(LPInterpreter interpreter)
Initialize the triple match to preserve the current context of the given
LPInterpreter and search for the match defined by the current argument registers
|
boolean |
nextMatch(LPInterpreter interpreter)
Find the next result triple and bind the result vars appropriately.
|
bindResult, functorMatchsetContinuationfastLinkTo, getLink, linkTopublic TripleMatchFrame(LPInterpreter interpreter)
interpreter - the interpreter instance whose env, trail and arg values are to be preservedpublic boolean nextMatch(LPInterpreter interpreter)
interpreter - the calling interpreter whose trail should be usedpublic void init(LPInterpreter interpreter)
init in class GenericTripleMatchFrameinterpreter - the interpreter instance whose env, trail and arg values are to be preservedpublic void close()
close in class FrameObjectLicenced under the Apache License, Version 2.0