Class ComparableEvent

  • All Implemented Interfaces:
    java.lang.Comparable<ComparableEvent>

    public class ComparableEvent
    extends java.lang.Object
    implements java.lang.Comparable<ComparableEvent>
    A maxent event representation which we can use to sort based on the predicates indexes contained in the events.
    • Field Detail

      • outcome

        public int outcome
      • predIndexes

        public int[] predIndexes
      • seen

        public int seen
      • values

        public float[] values
    • Constructor Detail

      • ComparableEvent

        public ComparableEvent​(int oc,
                               int[] pids,
                               float[] values)
      • ComparableEvent

        public ComparableEvent​(int oc,
                               int[] pids)
    • Method Detail

      • equals

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

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

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