Package samer.units

Class JointHistogram

  • java.lang.Object
    • Viewable
      • samer.units.JointHistogram
  • All Implemented Interfaces:
    java.util.Observer, Task


    public class JointHistogram
    extends Viewable
    implements Task, java.util.Observer
    Builds up a 2D joint histogram of 2 elements of a vector.
    • Constructor Detail

      • JointHistogram

        public JointHistogram(Vec x,
                              int M)
      • JointHistogram

        public JointHistogram(Vec x,
                              int bins,
                              int i1,
                              int i2)
    • Method Detail

      • clear

        public void clear()
      • getBinMatrix

        public Matrix getBinMatrix()
      • getLikelihoodSignal

        public VDouble getLikelihoodSignal()
      • getVMap

        public VMap getVMap()
      • starting

        public void starting()
        Specified by:
        starting in interface Task
      • stopping

        public void stopping()
        Specified by:
        stopping in interface Task
      • run

        public void run()
        Specified by:
        run in interface Task
      • dispose

        public void dispose()
        Specified by:
        dispose in interface Task
      • normalise

        public void normalise()
      • update

        public void update(java.util.Observable o,
                           java.lang.Object a)
        Specified by:
        update in interface java.util.Observer
      • getCommands

        public void getCommands(Registry r)
      • execute

        public void execute(java.lang.String cmd,
                            Environment env)
                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getViewer

        public Viewer getViewer()