MOA 12.03
Real Time Analytics for Data Streams
moa.core.MiscUtils Class Reference

Class implementing some utility methods. More...

List of all members.

Static Public Member Functions

static int chooseRandomIndexBasedOnWeights (double[] weights, Random random)
static int poisson (double lambda, Random r)
static String getStackTraceString (Exception ex)

Detailed Description

Class implementing some utility methods.

Author:
Richard Kirkby (rkirkby@cs.waikato.ac.nz)
Bernhard Pfahringer (bernhard@cs.waikato.ac.nz)
Version:
Revision:
7

Definition at line 36 of file MiscUtils.java.


Member Function Documentation

static int moa.core.MiscUtils.chooseRandomIndexBasedOnWeights ( double[]  weights,
Random  random 
) [static]

Definition at line 38 of file MiscUtils.java.

Referenced by moa.streams.generators.RandomRBFGenerator.nextInstance().

Here is the caller graph for this function:

static String moa.core.MiscUtils.getStackTraceString ( Exception  ex) [static]

Definition at line 71 of file MiscUtils.java.

Referenced by moa.gui.GUIUtils.showExceptionDialog().

Here is the caller graph for this function:


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations