Package uk.org.ogsadai.data

Examples of uk.org.ogsadai.data.IntegerData


     *            output to connect to.
     */
    public void addNominalValuesInputConnection(
            final int column, final SingleActivityOutput output)
    {
        addNominalValuesInputConnection(new IntegerData(column), output);
    }
View Full Code Here


     * @param classIndex
     *            index of the class column
     */
    public void addClassIndex(final int classIndex)
    {
        mClassIndexInput.add(new IntegerData(classIndex));
    }
View Full Code Here

     *  Sets number of folds in n-fold validation
     * @param folds - number of folds
     */
    public void setFolds(final Integer folds)
    {
       mFoldsInput.add(new IntegerData(folds));
    }
View Full Code Here

     * @param values
     *            nominal values
     */
    public void addNominalValues(int index, String... values)
    {
        addNominalValues(new IntegerData(index), values);
    }
View Full Code Here

     * @param output output to connect to.
     */
    public void connectNominalValuesInput(
            final int index, final SingleActivityOutput output)
    {
      mColumnIndicesInput.add(new IntegerData(index));
        mNominalValuesInput.connect(index, output);
        mCurrentIndex++;
        if (mCurrentIndex >= mNominalValuesInput.getNumberOfInputs())
        {
            mColumnIndicesInput.add(ListEnd.VALUE);
View Full Code Here

     * @param values
     *            nominal values
     */
    public void addNominalValues(int index, String... values)
    {
        addNominalValues(new IntegerData(index), values);
    }
View Full Code Here

    public void addGroupByColumns(int[] columnIndex)
    {
        mGroupByColumnsInput.add(ListBegin.VALUE);
        for (int i = 0; i < columnIndex.length; i++)
        {
            mGroupByColumnsInput.add(new IntegerData(columnIndex[i]));
        }
        mGroupByColumnsInput.add(ListEnd.VALUE);
    }
View Full Code Here

    public void addColumns(int[] columns)
    {
        mColumnsInput.add(ListBegin.VALUE);
        for (int i = 0; i < columns.length; i++)
        {
            mColumnsInput.add(new IntegerData(columns[i]));
        }
        mColumnsInput.add(ListEnd.VALUE);
    }
View Full Code Here

    public void addSortColumns(int[] columnIndex)
    {
        mColumnsInput.add(ListBegin.VALUE);
        for (int i = 0; i < columnIndex.length; i++)
        {
            mColumnsInput.add(new IntegerData(columnIndex[i]));
        }
        mColumnsInput.add(ListEnd.VALUE);
    }
View Full Code Here

        mResultOutput = new SimpleActivityOutput("result");
    }
   
    public void addSampleSize(int sampleSize)
    {
        mSampleSizeInput.add(new IntegerData(sampleSize));
    }
View Full Code Here

TOP

Related Classes of uk.org.ogsadai.data.IntegerData

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.