Package chemaxon.alignment
Class NodeColor.ExtendedAtomColoring
java.lang.Object
chemaxon.alignment.NodeColor
chemaxon.alignment.NodeColor.ExtendedAtomColoring
- Enclosing class:
NodeColor
-
Nested Class Summary
Nested classes/interfaces inherited from class chemaxon.alignment.NodeColor
NodeColor.ExtendedAtomColoring -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiongetLabel()Returns a label for the coloring scheme.booleanisSameType(int type1, int type2) Determines if two types are considered the same based on the coloring scheme.booleanisSelected(int t) Determines if the given type is selected based on the coloring scheme.markSingleTypes(BitSet b, int t) Marks the given type in the provided BitSet according to the coloring scheme.typeLabel(int t) Returns a label for the given type based on the coloring scheme.Methods inherited from class chemaxon.alignment.NodeColor
addWeight, create, getScheme, getWeight, isAliphaticRingCenter, isAnchor, isAromaticRingCenter, isSameTypeOrBothAnchor, labelAsAnchor, setNotSpec, withoutAnchorLabel
-
Field Details
-
OFFSET
public static final int OFFSET- See Also:
-
-
Method Details
-
isSelected
public boolean isSelected(int t) Description copied from class:NodeColorDetermines if the given type is selected based on the coloring scheme.- Specified by:
isSelectedin classNodeColor- Parameters:
t- the type to check- Returns:
- true if the type is selected, false otherwise
-
isSameType
public boolean isSameType(int type1, int type2) Description copied from class:NodeColorDetermines if two types are considered the same based on the coloring scheme.- Specified by:
isSameTypein classNodeColor- Parameters:
type1- the first type to comparetype2- the second type to compare- Returns:
- true if the types are considered the same, false otherwise
-
markSingleTypes
Description copied from class:NodeColorMarks the given type in the provided BitSet according to the coloring scheme.- Specified by:
markSingleTypesin classNodeColor- Parameters:
b- the BitSet to mark the type int- the type to mark- Returns:
- the updated BitSet with the type marked
-
typeLabel
Description copied from class:NodeColorReturns a label for the given type based on the coloring scheme. -
getLabel
Description copied from class:NodeColorReturns a label for the coloring scheme.
-