Class GenericChoiceFrame
- java.lang.Object
-
- org.apache.jena.reasoner.rulesys.impl.FrameObject
-
- org.apache.jena.reasoner.rulesys.impl.GenericChoiceFrame
-
- Direct Known Subclasses:
ChoicePointFrame
,GenericTripleMatchFrame
,TopLevelTripleMatchFrame
public class GenericChoiceFrame extends FrameObject
Core properties of choice frames used use to represent the OR state of the backtracking search. Specific variants of this need to preserve additional choice state.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 Summary
Constructors Constructor Description GenericChoiceFrame()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
init(LPInterpreter interpreter)
Initialize a choice point to preserve the current context of the given intepreter and then call the given set of predicates.void
setContinuation(int pc, int ac)
Set the continuation point for this frame.-
Methods inherited from class org.apache.jena.reasoner.rulesys.impl.FrameObject
close, fastLinkTo, getLink, linkTo
-
-
-
-
Method Detail
-
init
public void init(LPInterpreter interpreter)
Initialize a choice point to preserve the current context of the given intepreter and then call the given set of predicates.- Parameters:
interpreter
- the LPInterpreter whose state is to be preserved
-
setContinuation
public void setContinuation(int pc, int ac)
Set the continuation point for this frame.
-
-