com.rapidminer.operator
Interface IODescription

All Known Implementing Classes:
DefaultIODescription

public interface IODescription

This interface describes the (expected) input and (guaranteed) output classes of operators.

Author:
Ingo Mierswa

Method Summary
 java.lang.Class<?>[] getInputClasses()
          Returns the classes that are expected as input.
 java.lang.Class<?>[] getOutputClasses(java.lang.Class<?>[] input, Operator operator)
          Returns the output classes dependent on the outputBehaviour PASS_UNUSED_INPUT_TO_OUTPUT:output classes are the classes used in the constructor plus those classes in input[] that were not consumed.
 

Method Detail

getInputClasses

java.lang.Class<?>[] getInputClasses()
Returns the classes that are expected as input.


getOutputClasses

java.lang.Class<?>[] getOutputClasses(java.lang.Class<?>[] input,
                                      Operator operator)
                                      throws IllegalInputException
Returns the output classes dependent on the outputBehaviour In either case the output classes precede the unused input classes. Their order is conserved.

Throws:
IllegalInputException


Copyright © 2001-2009 by Rapid-I