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);
BlockReader outputFreq = getInput(INPUT_OUTPUT_FREQUENCY);
TypedOptionalActivityInput outputFreqInput =
new TypedOptionalActivityInput(INPUT_OUTPUT_FREQUENCY, Object.class, 100000);
outputFreqInput.setBlockReader(outputFreq);
inputs.add(outputFreqInput);
BlockReader algorithm = getInput(INPUT_ALGORITHM);
TypedOptionalActivityInput algorithmInput =
new TypedOptionalActivityInput(INPUT_ALGORITHM, 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);
TypedOptionalListActivityInput nomValIndexesInput = new TypedOptionalListActivityInput(INPUT_COLUMN_INDICES, Number.class);
if(nomValIndexesInput != null && indexes != null)