public class Ball extends 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(List<Event> ballData) |
Creates a ball from the given data - for case where no more split is needed
|
protected Ball(List<Event> ballData)
ballData - protected Ball(double[] ll,
double[] ur,
Event event,
int numPoints,
Ball leftBall,
Ball rightBall,
double minBW,
double maxBW)
ll - - Lower left corner of the regionur - - Upper right corner of the regionevent - - The data point on which we splitnumPoints - - #Points in that regionleftBall - - Left childrightBall - - Right ChildminBW - - Minimum BW in that regionmaxBW - - Maximum BW in that regionprotected double minPdf(Event e)
e - - The point to estimate the log probability forprotected double maxPdf(Event e)
e - - The point to estimate the log probability forCopyright © 2019. All rights reserved.