Class NodeColor.ExtendedAtomColoring

java.lang.Object
chemaxon.alignment.NodeColor
chemaxon.alignment.NodeColor.ExtendedAtomColoring
Enclosing class:
NodeColor

public static final class NodeColor.ExtendedAtomColoring extends NodeColor
  • Field Details

  • Method Details

    • isSelected

      public boolean isSelected(int t)
      Description copied from class: NodeColor
      Determines if the given type is selected based on the coloring scheme.
      Specified by:
      isSelected in class NodeColor
      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: NodeColor
      Determines if two types are considered the same based on the coloring scheme.
      Specified by:
      isSameType in class NodeColor
      Parameters:
      type1 - the first type to compare
      type2 - the second type to compare
      Returns:
      true if the types are considered the same, false otherwise
    • markSingleTypes

      public BitSet markSingleTypes(BitSet b, int t)
      Description copied from class: NodeColor
      Marks the given type in the provided BitSet according to the coloring scheme.
      Specified by:
      markSingleTypes in class NodeColor
      Parameters:
      b - the BitSet to mark the type in
      t - the type to mark
      Returns:
      the updated BitSet with the type marked
    • typeLabel

      public String typeLabel(int t)
      Description copied from class: NodeColor
      Returns a label for the given type based on the coloring scheme.
      Specified by:
      typeLabel in class NodeColor
      Parameters:
      t - the type to label
      Returns:
      a String label for the given type
    • getLabel

      public String getLabel()
      Description copied from class: NodeColor
      Returns a label for the coloring scheme.
      Specified by:
      getLabel in class NodeColor
      Returns:
      a String label for the given type