Package uk.org.ogsadai.activity.io

Examples of uk.org.ogsadai.activity.io.TypedOptionalActivityInput


    @Override
    protected ActivityInput[] getIterationInputs()
    {
        return new ActivityInput[] {
                new TypedOptionalActivityInput(INPUT_FILENAME, String.class, ""),
                new InputStreamActivityInput(INPUT_DATA)};
    }
View Full Code Here


@Override
protected ActivityInput[] getIterationInputs() {
  return new ActivityInput[] {
      
            new TypedOptionalActivityInput(INPUT_ID,String.class),
      
            };
}
View Full Code Here

@Override
protected ActivityInput[] getIterationInputs() {
  return new ActivityInput[] {
        new TypedActivityInput(INPUT_METADATA_STRING, String.class),
        new TypedOptionalActivityInput(FILE_URI,String.class),
      new TypedOptionalActivityInput(INPUT_STEPBACK,String.class),
      new TypedActivityInput(INPUT_METADATA_JS_TRACE1, String.class),
        new TypedActivityInput(INPUT_METADATA_JS_TRACE2, String.class)
            };
}
View Full Code Here

@Override
protected ActivityInput[] getIterationInputs() {
  return new ActivityInput[] {
        new TypedActivityInput(INPUT_METADATA_STRING, String.class),
            new TypedOptionalActivityInput(FILE_URI,String.class),
      new TypedOptionalActivityInput(INPUT_STEPBACK,String.class)
            };
}
View Full Code Here

@Override
protected ActivityInput[] getIterationInputs() {
  return new ActivityInput[] {
      new TypedActivityInput(INPUT_METADATA_STRING, String.class),
            new TypedOptionalActivityInput(FILE_URI,String.class),
      new TypedOptionalActivityInput(INPUT_STEPBACK,String.class)
      
            };
}
View Full Code Here

  @Override
  protected ActivityInput[] getIterationInputs() {
    return new ActivityInput[] {
        new TypedActivityInput(INPUT, int[][].class),
        new TypedOptionalActivityInput(INPUT_MASK_SIZE, Number.class)};
  }
View Full Code Here

    @Override
    protected ActivityInput[] getIterationInputs()
    {
        return new ActivityInput[] {
                new TypedActivityInput(INPUT_URL, String.class),
                new TypedOptionalActivityInput(INPUT_FILENAME, String.class)
        };
    }
View Full Code Here

        inputs.add(dataInput);

        // set up block reader for options input
        BlockReader options = getInput(INPUT_OPTIONS);

        TypedOptionalActivityInput optionsInput =
            new TypedOptionalActivityInput(INPUT_OPTIONS, Object.class, DEFAULT_OPTIONS);
        optionsInput.setBlockReader(options);
        inputs.add(optionsInput);
       
        // set up block reader for options input
        BlockReader algorithm = getInput(INPUT_ALGORITHM_CLASS);
       
        TypedOptionalActivityInput algorithmInput =
            new TypedOptionalActivityInput(INPUT_ALGORITHM_CLASS, Object.class, DEFAULT_ALGORITHM);
        algorithmInput.setBlockReader(algorithm);
        inputs.add(algorithmInput);
       
        // set up block reader for indexes of nominal values columns
        BlockReader indexes = getInput(INPUT_COLUMN_INDICES);
        if (indexes == null)
View Full Code Here

    protected ActivityInput[] getIterationInputs()
    {
        return new ActivityInput[] {
            new TypedActivityInput(INPUT_CLASSIFIER, TupleClassifier.class),
            new TupleListActivityInput(INPUT_DATA),
            new TypedOptionalActivityInput(INPUT_RESULT_COLUMN_NAME, String.class, "class")
        };
    }
View Full Code Here

        inputs.add(classIndexInput);
       
        // set up block reader for options  input

        BlockReader options = getInput(INPUT_OPTIONS);
        TypedOptionalActivityInput optionsInput = new TypedOptionalActivityInput(INPUT_OPTIONS, Object.class);
        optionsInput.setBlockReader(options);
        inputs.add(optionsInput);
       
        // set up block reader for indexes of nominal values columns
        BlockReader indexes = getInput(INPUT_COLUMN_INDICES);
        if (indexes == null)
View Full Code Here

TOP

Related Classes of uk.org.ogsadai.activity.io.TypedOptionalActivityInput

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.