java.lang.Object
de.grogra.xl.impl.base.QStateMultiScale
- All Implemented Interfaces:
QueryStateMultiScale
This class contains the state information of a query pertaining to multiple scales.
This class is part of the extension of XL for multiscale modelling.
- Since:
- 18-04-2013
- Author:
- yongzhi ong
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addIsMultiScaleMatcher
(boolean isMultiScale) void
addRelation
(Object src, Object tgt, int relation) void
clear()
boolean
int
int
int
ObjectList<de.grogra.xl.impl.base.QStateMultiScale.Relation>
boolean
void
boolean
Performs query-wide context condition validation.void
void
setIsMultiScaleMatcherLast
(boolean isMultiScale) void
void
-
Field Details
-
RELATION_EQUAL
public static final int RELATION_EQUAL- See Also:
-
RELATION_REFINE
public static final int RELATION_REFINE- See Also:
-
RELATION_CROSS
public static final int RELATION_CROSS- See Also:
-
-
Constructor Details
-
QStateMultiScale
-
-
Method Details
-
getRelationCount
public int getRelationCount()- Specified by:
getRelationCount
in interfaceQueryStateMultiScale
-
addRelation
- Specified by:
addRelation
in interfaceQueryStateMultiScale
- Throws:
QueryStateMultiScaleException
-
popRelation
- Specified by:
popRelation
in interfaceQueryStateMultiScale
- Throws:
QueryStateMultiScaleException
-
clear
public void clear()- Specified by:
clear
in interfaceQueryStateMultiScale
-
addIsMultiScaleMatcher
public void addIsMultiScaleMatcher(boolean isMultiScale) - Specified by:
addIsMultiScaleMatcher
in interfaceQueryStateMultiScale
-
getIsMultiScaleMatcher
public boolean getIsMultiScaleMatcher()- Specified by:
getIsMultiScaleMatcher
in interfaceQueryStateMultiScale
-
popIsMultiScaleMatcher
public boolean popIsMultiScaleMatcher()- Specified by:
popIsMultiScaleMatcher
in interfaceQueryStateMultiScale
-
setIsMultiScaleMatcherLast
public void setIsMultiScaleMatcherLast(boolean isMultiScale) - Specified by:
setIsMultiScaleMatcherLast
in interfaceQueryStateMultiScale
-
getIsMultiScaleMatcherSize
public int getIsMultiScaleMatcherSize()- Specified by:
getIsMultiScaleMatcherSize
in interfaceQueryStateMultiScale
-
getIsMultiScaleMatcherTrueCount
public int getIsMultiScaleMatcherTrueCount()- Specified by:
getIsMultiScaleMatcherTrueCount
in interfaceQueryStateMultiScale
-
queryContextMatch
Performs query-wide context condition validation. Adds additional edge connections to be deleted.- Specified by:
queryContextMatch
in interfaceQueryStateMultiScale
- Returns:
- true if all query-wide context conditions are met, false otherwise
- Throws:
QueryStateMultiScaleException
-
removeDynamicConnections
public void removeDynamicConnections()- Specified by:
removeDynamicConnections
in interfaceQueryStateMultiScale
-
updateFirstLastNodes
public void updateFirstLastNodes()- Specified by:
updateFirstLastNodes
in interfaceQueryStateMultiScale
-
getFirstNodes
- Specified by:
getFirstNodes
in interfaceQueryStateMultiScale
-
getLastNodes
- Specified by:
getLastNodes
in interfaceQueryStateMultiScale
-
getTrailingIncomingRefinements
- Specified by:
getTrailingIncomingRefinements
in interfaceQueryStateMultiScale
-
getTrailingOutgoingRefinements
- Specified by:
getTrailingOutgoingRefinements
in interfaceQueryStateMultiScale
-
updateTrailingRefinements
public void updateTrailingRefinements()- Specified by:
updateTrailingRefinements
in interfaceQueryStateMultiScale
-
getRelationsEqual
-