Full Library / Math Operator / Logic / Compare_K
Block Name: Compare_K
- public class Compare_K
- extends TypedAtomicActor
- A compare_output by constant K, which routes input tokens to the true_output port, if the comparison is true, else the input token is sent to the false_output. This actor has one input port, the input port for incoming data tokens. In addition, the value of the comparison is sent to the compare_output port, represented as '1' equals true, '0' equals false.
input
public TypedIOPort input
- Input port for data tokens.
true_output
public TypedIOPort true_output
- True output port, type same as Constant K.
false_output
public TypedIOPort false_output
- False output port, type same as Constant K.
compare_output
public TypedIOPort compare_output
- Output compare_output port, 0 = false, 1 = true.
Constant_K
public Parameter Constant_K
Compare_Type
public StringAttribute Compare_Type
- The relative compare mode operator. This is a string-valued attribute that defaults to "=". Other options: '!=', '>', '>=', '<', '<='.
Output_Type
public StringAttribute Output_Type
- The relative output mode operator. This is a string-valued attribute that defaults to "Integer". Other options: "Long", "Double", "String".
Created with the Personal Edition of HelpNDoc: Easily create Help documents