类 Ball


  • public class Ball
    extends java.lang.Object
    • 构造器概要

      构造器 
      限定符 构造器 说明
      protected Ball​(double[] ll, double[] ur, Event event, int numPoints, Ball leftBall, Ball rightBall, double minBW, double maxBW)
      Creating a Ball on split, saving all necessary sufficient statistics for the region.
      protected Ball​(java.util.List<Event> ballData)
      Creates a ball from the given data - for case where no more split is needed
    • 方法概要

      所有方法 静态方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      static void main​(java.lang.String... args)  
      protected double maxPdf​(Event e)
      Maximum log probability that can be obtained from the region
      protected double minPdf​(Event e)
      Minimum log probability that can be obtained from the region
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 构造器详细资料

      • Ball

        protected Ball​(java.util.List<Event> ballData)
        Creates a ball from the given data - for case where no more split is needed
        参数:
        ballData -
      • Ball

        protected Ball​(double[] ll,
                       double[] ur,
                       Event event,
                       int numPoints,
                       Ball leftBall,
                       Ball rightBall,
                       double minBW,
                       double maxBW)
        Creating a Ball on split, saving all necessary sufficient statistics for the region.
        参数:
        ll - - Lower left corner of the region
        ur - - Upper right corner of the region
        event - - The data point on which we split
        numPoints - - #Points in that region
        leftBall - - Left child
        rightBall - - Right Child
        minBW - - Minimum BW in that region
        maxBW - - Maximum BW in that region
    • 方法详细资料

      • minPdf

        protected double minPdf​(Event e)
        Minimum log probability that can be obtained from the region
        参数:
        e - - The point to estimate the log probability for
        返回:
        Minimum log probability
      • maxPdf

        protected double maxPdf​(Event e)
        Maximum log probability that can be obtained from the region
        参数:
        e - - The point to estimate the log probability for
        返回:
        Maximum log probability
      • main

        public static void main​(java.lang.String... args)
                         throws java.lang.Exception
        抛出:
        java.lang.Exception