Class LlahFeature


public class LlahFeature extends Object
Describes a LLAH feature. Says which document it appeared in, which landmark it belongs to and it's invariants.
  • Field Details

    • next

      @Nullable public @Nullable LlahFeature next
      If there's a hash collision
    • documentID

      public int documentID
    • landmarkID

      public int landmarkID
    • invariants

      public final int[] invariants
    • hashCode

      public int hashCode
      Hash code for this feature
  • Constructor Details

    • LlahFeature

      public LlahFeature(int numInvariants)
  • Method Details

    • reset

      public void reset()
    • doInvariantsMatch

      public boolean doInvariantsMatch(LlahFeature f)
      Returns true if the invariants are identical
    • hashCode

      public int hashCode()
      hashCode in class Object