weka.core
Interface Randomizable

All Known Subinterfaces:
NestedDichotomy
All Known Implementing Classes:
HND, ND, RandomForest, RandomizableClassifier, RandomizableIteratedSingleClassifierEnhancer, RandomizableMultipleClassifiersCombiner, RandomizableSingleClassifierEnhancer, RandomTree, TreeBasedMultiClassClassifier

public interface Randomizable

Interface to something that has random behaviour that is able to be seeded with an integer.

Version:
$Revision: 1.2 $
Author:
Richard Kirkby (rkirkby@cs.waikato.ac.nz)

Method Summary
 int getSeed()
          Gets the seed for the random number generations
 void setSeed(int seed)
          Set the seed for random number generation.
 

Method Detail

setSeed

public void setSeed(int seed)
Set the seed for random number generation.

Parameters:
seed - the seed

getSeed

public int getSeed()
Gets the seed for the random number generations

Returns:
the seed for the random number generation