Class PowerEntry

java.lang.Object
de.tilman_neumann.jml.factor.siqs.powers.PowerEntry
All Implemented Interfaces:
java.lang.Comparable<PowerEntry>

public class PowerEntry
extends java.lang.Object
implements java.lang.Comparable<PowerEntry>
Auxiliary class that allows to get the powers sorted bottom-up by the power value.
  • Field Summary

    Fields
    Modifier and Type Field Description
    int exponent  
    byte logPower  
    int p  
    double pinvD  
    long pinvL  
    int power  
    int t  
  • Constructor Summary

    Constructors
    Constructor Description
    PowerEntry​(int p, int exponent, int power, int t, byte logPower)  
  • Method Summary

    Modifier and Type Method Description
    int compareTo​(PowerEntry other)  
    boolean equals​(java.lang.Object o)  
    int hashCode()  

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • p

      public int p
    • exponent

      public int exponent
    • power

      public int power
    • t

      public int t
    • logPower

      public byte logPower
    • pinvD

      public double pinvD
    • pinvL

      public long pinvL
  • Constructor Details

    • PowerEntry

      public PowerEntry​(int p, int exponent, int power, int t, byte logPower)
  • Method Details

    • equals

      public boolean equals​(java.lang.Object o)
      Overrides:
      equals in class java.lang.Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class java.lang.Object
    • compareTo

      public int compareTo​(PowerEntry other)
      Specified by:
      compareTo in interface java.lang.Comparable<PowerEntry>