Class P3C.Signature

  • Enclosing class:
    P3C

    private static class P3C.Signature
    extends java.lang.Object
    P3C Cluster signature.
    Author:
    Erich Schubert
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) DBIDs ids
      Object ids.
      (package private) boolean prune
      Pruning flag.
      (package private) int[] spec
      Subspace specification
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private Signature​(int[] spec, DBIDs ids)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getFirstDim()
      Find the first dimension set in this signature.
      boolean isSuperset​(P3C.Signature other)
      Test whether this is a superset of the other signature.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • spec

        int[] spec
        Subspace specification
      • ids

        DBIDs ids
        Object ids.
      • prune

        boolean prune
        Pruning flag.
    • Constructor Detail

      • Signature

        private Signature​(int[] spec,
                          DBIDs ids)
        Constructor.
        Parameters:
        spec - Subspace specification
        ids - IDs.
    • Method Detail

      • isSuperset

        public boolean isSuperset​(P3C.Signature other)
        Test whether this is a superset of the other signature.
        Parameters:
        other - Other signature.
        Returns:
        true when this is a superset.
      • getFirstDim

        public int getFirstDim()
        Find the first dimension set in this signature.
        Returns:
        Dimension
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object