Class TrackBitSet<T>

java.lang.Object
clickTrainDetector.clickTrainAlgorithms.mht.TrackBitSet<T>

public class TrackBitSet<T> extends Object
Holds information on a track possibility
Author:
Jamie Macaulay
  • Field Details

    • JUNK_TRACK

      public static final int JUNK_TRACK
      Flag to indicate a track should be junked.
      See Also:
    • trackBitSet

      public BitSet trackBitSet
      A bit set representing the track were each true and false represents whether a sequential detection is within the track or not
    • chi2Track

      public MHTChi2<T> chi2Track
      The chi2 value of the track. Lower values indicate consistently changing variables e.g. bearings, amplitudes, inter-click interval.
    • flag

      public int flag
      Flag which can indicate track status
  • Constructor Details

    • TrackBitSet

      public TrackBitSet(int size, MHTChi2<T> chi2Track)
    • TrackBitSet

      public TrackBitSet(BitSet trackBitSet, MHTChi2<T> chi2Track)
    • TrackBitSet

      public TrackBitSet(BitSet bitSet)
  • Method Details

    • getChi2

      public double getChi2()
      Convenience function to get chi2 of track.
      Returns:
      chi2 of track