java.lang.Object
de.grogra.xl.query.QueryState
- Direct Known Subclasses:
Graph.QState
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ObjectList
static final int
static final int
static final int
protected final QueryState.Break
protected static final MatchConsumer
protected DoubleList
protected boolean
protected Frame
protected FloatList
protected IntList
protected ObjectList<Variable>
protected LongList
protected Object
protected Pattern.Matcher
protected int
protected CompoundPattern
protected QueryStateMultiScale
protected int
protected IntList
final IntList
final ObjectList
final ObjectList
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
abound
(int index) void
addIsMultiScaleMatcher
(boolean isMultiScale) void
addRelation
(Object src, Object tgt, int relationType) protected void
protected void
addVariable
(Variable local) protected boolean
void
amatch
(int index, Object value, MatchConsumer consumer, int arg) void
int
dbind
(int index, double value) double
dbound
(int index) protected void
dispose()
void
dmatch
(int index, double value, MatchConsumer consumer, int arg) protected boolean
excludeFromMatch
(Object node, boolean context) int
fbind
(int index, float value) float
fbound
(int index) void
fmatch
(int index, float value, MatchConsumer consumer, int arg) int
getGraph()
boolean
int
int
getModel()
getNodeData
(Object node) int
boolean
boolean
int
ibind
(int index, int value) int
ibound
(int index) void
imatch
(int index, int value, MatchConsumer consumer, int arg) void
boolean
isBound
(int index) boolean
isNull
(int index) int
lbind
(int index, long value) long
lbound
(int index) void
lmatch
(int index, long value, MatchConsumer consumer, int arg) protected int
newVariables
(int length) int
nullbind
(int index) boolean
void
boolean
void
setExtentVisibility
(int i) For RGGGraphs, the extent visibility goes from 0 to 255 (11111111 as decimal).void
setIsMultiScaleMatcherLast
(boolean isMultiScale) protected void
setVariables
(int fp) void
unbind
(int index) void
void
void
visitMatch
(Producer prod)
-
Field Details
-
BINDING_MISMATCHED
public static final int BINDING_MISMATCHED- See Also:
-
BINDING_MATCHED
public static final int BINDING_MATCHED- See Also:
-
BINDING_PERFORMED
public static final int BINDING_PERFORMED- See Also:
-
userStack0
-
userStack1
-
userIStack0
-
breakAll
-
istack
-
lstack
-
fstack
-
dstack
-
astack
-
sp
protected int sp -
frame
-
localVariables
-
stackVariables
-
qsMultiScale
-
forProduction
protected boolean forProduction -
matchConsumer
-
pred
-
matcher
-
matcherSp
protected int matcherSp -
CONSUMER
-
-
Constructor Details
-
QueryState
-
-
Method Details
-
newVariables
protected int newVariables(int length) -
addVariable
-
addVariable
protected void addVariable() -
setVariables
protected void setVariables(int fp) -
getGraph
-
getModel
-
initialize
public void initialize() -
breakMatching
public void breakMatching() -
dispose
protected void dispose() -
visitMatch
-
getFirstNodeData
-
getNodeData
-
hasInVariable
public boolean hasInVariable() -
hasOutVariable
public boolean hasOutVariable() -
getInValue
-
getOutValue
-
ibound
public int ibound(int index) -
ibind
public int ibind(int index, int value) -
imatch
-
lbound
public long lbound(int index) -
lbind
public int lbind(int index, long value) -
lmatch
-
fbound
public float fbound(int index) -
fbind
public int fbind(int index, float value) -
fmatch
-
dbound
public double dbound(int index) -
dbind
public int dbind(int index, double value) -
dmatch
-
abound
-
abind
-
amatch
-
nullbind
public int nullbind(int index) -
isBound
public boolean isBound(int index) -
isNull
public boolean isNull(int index) -
unbind
public void unbind(int index) -
excludeFromMatch
-
allowsNoninjectiveMatches
protected boolean allowsNoninjectiveMatches() -
popRelation
- Throws:
QueryStateMultiScaleException
-
addRelation
public void addRelation(Object src, Object tgt, int relationType) throws QueryStateMultiScaleException - Throws:
QueryStateMultiScaleException
-
queryContextMatch
- Throws:
QueryStateMultiScaleException
-
addIsMultiScaleMatcher
public void addIsMultiScaleMatcher(boolean isMultiScale) -
getIsMultiScaleMatcher
public boolean getIsMultiScaleMatcher() -
popIsMultiScaleMatcher
public boolean popIsMultiScaleMatcher() -
setIsMultiScaleMatcherLast
public void setIsMultiScaleMatcherLast(boolean isMultiScale) -
getIsMultiScaleMatcherSize
public int getIsMultiScaleMatcherSize() -
getIsMultiScaleMatcherTrueCount
public int getIsMultiScaleMatcherTrueCount() -
getRelationCount
public int getRelationCount() -
removeDynamicConnections
public void removeDynamicConnections() -
updateFirstLastNodes
public void updateFirstLastNodes() -
getFirstNodes
-
getLastNodes
-
getTrailingIncomingRefinements
-
getTrailingOutgoingRefinements
-
updateTrailingRefinements
public void updateTrailingRefinements() -
setExtentVisibility
For RGGGraphs, the extent visibility goes from 0 to 255 (11111111 as decimal). Each 1 at the nth mean that the extent n is visible (from right to left). If the visibility is set to a negative number the gaph will use its default value. -
getExtentVisibility
public int getExtentVisibility()
-