|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.udo.cs.yale.operator.Operator
edu.udo.cs.yale.operator.OperatorChain
edu.udo.cs.yale.operator.postprocessing.SplitChain
public class SplitChain
An operator chain that split an ExampleSet into two disjunct parts
and applies the first child operator on the first part and applies the second
child on the second part and the result of the first child. The total result
is the result of the second operator.
| Constructor Summary | |
|---|---|
SplitChain(OperatorDescription description)
|
|
| Method Summary | |
|---|---|
IOObject[] |
apply()
Applies all inner operators. |
InnerOperatorCondition |
getInnerOperatorCondition()
Must return a condition of the IO behaviour of all desired inner operators. |
java.lang.Class[] |
getInputClasses()
Returns the the classes this operator provides as output. |
InputDescription |
getInputDescription(java.lang.Class cls)
The default implementation returns an input description that consumes the input IOObject without a user parameter. |
int |
getMaxNumberOfInnerOperators()
Returns the maximum number of innner operators. |
int |
getMinNumberOfInnerOperators()
Returns the minimum number of innner operators. |
int |
getNumberOfSteps()
Returns the number of steps performed by this chain. |
java.lang.Class[] |
getOutputClasses()
Returns the the classes this operator expects as input. |
java.util.List<ParameterType> |
getParameterTypes()
Returns a list of ParameterTypes describing the parameters of this operator. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SplitChain(OperatorDescription description)
| Method Detail |
|---|
public IOObject[] apply()
throws OperatorException
OperatorChainOperatorChain.clearStepCounter().
apply in class OperatorChainOperatorExceptionpublic InnerOperatorCondition getInnerOperatorCondition()
OperatorChainSimpleChainInnerOperatorCondition. More than one
condition should be combined with help of the class
CombinedInnerOperatorCondition.
getInnerOperatorCondition in class OperatorChainpublic InputDescription getInputDescription(java.lang.Class cls)
Operator
getInputDescription in class Operatorpublic int getMaxNumberOfInnerOperators()
getMaxNumberOfInnerOperators in class OperatorChainpublic int getMinNumberOfInnerOperators()
getMinNumberOfInnerOperators in class OperatorChainpublic java.lang.Class[] getInputClasses()
getInputClasses in class Operatorpublic java.lang.Class[] getOutputClasses()
getOutputClasses in class Operatorpublic int getNumberOfSteps()
OperatorChain
getNumberOfSteps in class OperatorChainpublic java.util.List<ParameterType> getParameterTypes()
Operator
getParameterTypes in class Operator
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||