weka.classifiers.neural.common
Class RandomWrapper

java.lang.Object
  extended by weka.classifiers.neural.common.RandomWrapper
All Implemented Interfaces:
java.io.Serializable

public class RandomWrapper
extends java.lang.Object
implements java.io.Serializable

Date: 18/05/2004 File: RandomWrapper.java

Author:
Jason Brownlee
See Also:
Serialized Form

Constructor Summary
RandomWrapper()
          Constructor
RandomWrapper(long aSeed)
          Constructor
 
Method Summary
 java.util.Random getRand()
           
 long getSeed()
           
 void recreate()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RandomWrapper

public RandomWrapper(long aSeed)
Constructor

Parameters:
aSeed -

RandomWrapper

public RandomWrapper()
Constructor

Method Detail

recreate

public void recreate()

getRand

public java.util.Random getRand()
Returns:

getSeed

public long getSeed()
Returns: