|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.udo.cs.yale.operator.condition.SpecificInnerOperatorCondition
public class SpecificInnerOperatorCondition
A condition for a specific inner operator with a fixed index. Since in these cases often a special name for this operator can be used, e.g. "Training" for the first operator of a cross validation, this condition also allows the definition of a describing name.
| Field Summary | |
|---|---|
private int |
index
The operator index of the chain of operators for which this description object should be created. |
private java.lang.Class[] |
mustDeliver
The array of classes which must be delivered by the inner chain of operators described by this InnerOpDesc object. |
private java.lang.String |
name
A short name describing the purpose of this inner operator chain, e.g. |
private java.lang.Class[] |
willGet
The array of classes which is given to the inner chain of operators described by this InnerOpDesc object. |
| Constructor Summary | |
|---|---|
SpecificInnerOperatorCondition(java.lang.String name,
int index,
java.lang.Class[] willGet,
java.lang.Class[] mustDeliver)
Creates an inner operator condition. |
|
| Method Summary | |
|---|---|
java.lang.Class[] |
checkIO(OperatorChain chain,
java.lang.Class[] input)
Checks if the condition is fulfilled in the given operator chain. |
java.lang.String |
toHTML()
Returns a HTML string representation of this condition. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private java.lang.String name
private int index
private java.lang.Class[] willGet
private java.lang.Class[] mustDeliver
| Constructor Detail |
|---|
public SpecificInnerOperatorCondition(java.lang.String name,
int index,
java.lang.Class[] willGet,
java.lang.Class[] mustDeliver)
| Method Detail |
|---|
public java.lang.Class[] checkIO(OperatorChain chain,
java.lang.Class[] input)
throws IllegalInputException,
WrongNumberOfInnerOperatorsException
InnerOperatorCondition
checkIO in interface InnerOperatorConditionIllegalInputException
WrongNumberOfInnerOperatorsExceptionpublic java.lang.String toHTML()
InnerOperatorCondition
toHTML in interface InnerOperatorCondition
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||