at.tuwien.ifs.somtoolbox.apps.helper
Class DataGenerator

java.lang.Object
  extended by at.tuwien.ifs.somtoolbox.apps.helper.DataGenerator

public class DataGenerator
extends Object


Field Summary
private static org.apache.commons.math.random.RandomDataImpl rand
           
 
Constructor Summary
DataGenerator()
           
 
Method Summary
private static InputDatum generatePoint(String name, double[] mean, double[] sigma)
           
static InputDatum[] generatePoints(String name, int num, double[] mean, double[] sigma)
           
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rand

private static org.apache.commons.math.random.RandomDataImpl rand
Constructor Detail

DataGenerator

public DataGenerator()
Method Detail

main

public static void main(String[] args)
                 throws IOException,
                        SOMLibFileFormatException
Throws:
IOException
SOMLibFileFormatException

generatePoints

public static InputDatum[] generatePoints(String name,
                                          int num,
                                          double[] mean,
                                          double[] sigma)

generatePoint

private static InputDatum generatePoint(String name,
                                        double[] mean,
                                        double[] sigma)