Documentation of 'org.encog.app.analyst.csv.basic.BaseCachedColumn' Java class
BaseCachedColumn
org.encog.app.analyst.csv.basic

Class BaseCachedColumn

  • Direct Known Subclasses:
    FileData, Indicator


    public class BaseCachedColumn
    extends java.lang.Object
    A basic cached column. Used internally by some of the Encog CSV quant classes. All of the file contents for this column are loaded into memory.
    • 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
      void allocate(int length)
      Allocate enough space for this column.
      double[] getData() 
      java.lang.String getName() 
      boolean isIgnore() 
      boolean isInput() 
      boolean isOutput() 
      void setIgnore(boolean theIgnore)
      Set if this column is to be ignored?
      void setInput(boolean theIgnore)
      Set if this column is used for input.
      void setName(java.lang.String theName)
      Set the name of this column.
      void setOutput(boolean theOutput)
      Set if this column is used for output.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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

You see the box below because you did not login.