net.sourceforge.cilib.problem.dataset
Class TextDataSetBuilder

java.lang.Object
  extended by net.sourceforge.cilib.problem.dataset.DataSetBuilder
      extended by net.sourceforge.cilib.problem.dataset.TextDataSetBuilder
All Implemented Interfaces:
Serializable, Iterable<DataSet>, Cloneable
Direct Known Subclasses:
StringDataSetBuilder

public abstract class TextDataSetBuilder
extends DataSetBuilder

TODO: Complete this javadoc.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class net.sourceforge.cilib.problem.dataset.DataSetBuilder
dataSets
 
Constructor Summary
TextDataSetBuilder()
           
 
Method Summary
abstract  String get(int index)
           
abstract  String getLongestString()
          Get the length of the longest string contained in the processed DataSet objects.
abstract  String getShortestString()
          Get the length of the shortest string contained in the processed DataSet objects.
abstract  void initialise()
           
abstract  int size()
           
 
Methods inherited from class net.sourceforge.cilib.problem.dataset.DataSetBuilder
addDataSet, getClone, getDataSet, iterator, uninitialise
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextDataSetBuilder

public TextDataSetBuilder()
Method Detail

initialise

public abstract void initialise()
Specified by:
initialise in class DataSetBuilder

getShortestString

public abstract String getShortestString()
Get the length of the shortest string contained in the processed DataSet objects.

Returns:
The length of the shortest string within this TextDataSetBuilder.

getLongestString

public abstract String getLongestString()
Get the length of the longest string contained in the processed DataSet objects.

Returns:
The length of the longest string within this TextDataSetBuilder.

size

public abstract int size()

get

public abstract String get(int index)


Copyright © 2009 CIRG. All Rights Reserved.