net.sourceforge.cilib.neuralnetwork.generic.datacontainers
Class RandomDistributionStrategy

java.lang.Object
  extended by net.sourceforge.cilib.neuralnetwork.generic.datacontainers.RandomDistributionStrategy
All Implemented Interfaces:
DataDistributionStrategy

public class RandomDistributionStrategy
extends Object
implements DataDistributionStrategy

TODO: Complete this javadoc.


Field Summary
protected  String file
           
protected  BufferedReader inputReader
           
protected  int noInputs
           
protected  int percentCan
           
protected  int percentGen
           
protected  int percentTrain
           
protected  int percentVal
           
protected  Random randomizer
           
 
Constructor Summary
RandomDistributionStrategy()
           
 
Method Summary
 void initialize()
           
 void populateData(ArrayList<NNPattern> dc, ArrayList<NNPattern> dt, ArrayList<NNPattern> dg, ArrayList<NNPattern> dv)
           
 void setFile(String file)
           
 void setNoInputs(int noInputs)
           
 void setPatternRandomizerSeed(long seed)
           
 void setPercentCan(int percentCan)
           
 void setPercentGen(int percentGen)
           
 void setPercentTrain(int percentTrain)
           
 void setPercentVal(int percentVal)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

inputReader

protected BufferedReader inputReader

file

protected String file

randomizer

protected Random randomizer

noInputs

protected int noInputs

percentTrain

protected int percentTrain

percentGen

protected int percentGen

percentVal

protected int percentVal

percentCan

protected int percentCan
Constructor Detail

RandomDistributionStrategy

public RandomDistributionStrategy()
Method Detail

initialize

public void initialize()
Specified by:
initialize in interface DataDistributionStrategy

populateData

public void populateData(ArrayList<NNPattern> dc,
                         ArrayList<NNPattern> dt,
                         ArrayList<NNPattern> dg,
                         ArrayList<NNPattern> dv)
Specified by:
populateData in interface DataDistributionStrategy

setPercentCan

public void setPercentCan(int percentCan)

setPercentGen

public void setPercentGen(int percentGen)

setPercentTrain

public void setPercentTrain(int percentTrain)

setPercentVal

public void setPercentVal(int percentVal)

setFile

public void setFile(String file)

setNoInputs

public void setNoInputs(int noInputs)

setPatternRandomizerSeed

public void setPatternRandomizerSeed(long seed)


Copyright © 2009 CIRG. All Rights Reserved.