org.encog.app.analyst.csv.basic
Class BaseCachedColumn
- java.lang.Object
-
- org.encog.app.analyst.csv.basic.BaseCachedColumn
-
-
Constructor Summary
Constructors Constructor and Description BaseCachedColumn(java.lang.String theName, boolean theInput, boolean theOutput)Construct the cached column.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidallocate(int length)Allocate enough space for this column.double[]getData()java.lang.StringgetName()booleanisIgnore()booleanisInput()booleanisOutput()voidsetIgnore(boolean theIgnore)Set if this column is to be ignored?voidsetInput(boolean theIgnore)Set if this column is used for input.voidsetName(java.lang.String theName)Set the name of this column.voidsetOutput(boolean theOutput)Set if this column is used for output.
-
-
-
Constructor Detail
-
BaseCachedColumn
public BaseCachedColumn(java.lang.String theName, boolean theInput, boolean theOutput)Construct the cached column.- Parameters:
theName- The name of the column.theInput- Is this column used for input?theOutput- Is this column used for output?
-
-
Method Detail
-
allocate
public void allocate(int length)
Allocate enough space for this column.- Parameters:
length- The length of this column.
-
getData
public double[] getData()
- Returns:
- The data for this column.
-
getName
public java.lang.String getName()
- Returns:
- The name of this column
-
isIgnore
public boolean isIgnore()
- Returns:
- Is this column ignored?
-
isInput
public boolean isInput()
- Returns:
- Is this column used for input?
-
isOutput
public boolean isOutput()
- Returns:
- Is this column used for output?
-
setIgnore
public void setIgnore(boolean theIgnore)
Set if this column is to be ignored?- Parameters:
theIgnore- True, if this column is to be ignored.
-
setInput
public void setInput(boolean theIgnore)
Set if this column is used for input.- Parameters:
theIgnore- Is this column used for input.
-
setName
public void setName(java.lang.String theName)
Set the name of this column.- Parameters:
theName- The name of this column.
-
setOutput
public void setOutput(boolean theOutput)
Set if this column is used for output.- Parameters:
theOutput- Is this column used for output.
-
-
DMelt 3.0 © DataMelt by jWork.ORG