Package uk.org.ogsadai.data

Examples of uk.org.ogsadai.data.StringData


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


     * @param classIndex
     *            index of the class column
     */
    public void setOptions(final String options)
    {
       mOptionsInput.add(new StringData(options));
    }
View Full Code Here

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

    {
        mColumnIndicesInput.add(column);
        mNominalValuesInput.add(mCurrentIndex, ListBegin.VALUE);
        for (String value : values)
        {
            mNominalValuesInput.add(mCurrentIndex, new StringData(value));
        }
        mNominalValuesInput.add(mCurrentIndex, ListEnd.VALUE);
        if (mCurrentIndex >= mNominalValuesInput.getNumberOfInputs())
        {
            mColumnIndicesInput.add(ListEnd.VALUE);
View Full Code Here

     * @param options
     *            String representing command line WEKA options
     */
    public void addWekaOptions(final String options)
    {   
      mOptionsInput.add(new StringData(options));       
    }
View Full Code Here

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

    {
        mColumnIndicesInput.add(column);
        mNominalValuesInput.add(mCurrentIndex, ListBegin.VALUE);
        for (String value : values)
        {
            mNominalValuesInput.add(mCurrentIndex, new StringData(value));
        }
        mNominalValuesInput.add(mCurrentIndex, ListEnd.VALUE);
        if (mCurrentIndex >= mNominalValuesInput.getNumberOfInputs())
        {
            mColumnIndicesInput.add(ListEnd.VALUE);
View Full Code Here

     */
    public RDFUpdate(String PEData)
    {
        super(DEFAULT_ACTIVITY_NAME);
        mPEdata = new SimpleActivityInput("PEData");
        mPEdata.add(new StringData(PEData));
        mOutput = new SimpleActivityOutput("output");
        this.setResourceID("RDFResource");
    }
View Full Code Here

     *             if there is an error reading from a data source.
     */
    public StringData nextOutput() throws DataStreamErrorException,
            UnexpectedDataValueException, DataSourceUsageException
    {
        return new StringData(mOutput.getDataValueIterator().nextAsString());
    }
View Full Code Here

     * @param name
     *            Name to add to the input.
     */
    public void addInput(String name)
    {
        mPEdata.add(new StringData(name));
    }
View Full Code Here

TOP

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

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.