🖥
🖥
🖥
🖥
AugeLab Studio Manual
English
K
Comment on page

# Logic Operations

This block allows comparison of logic values and numeric values. You can examine in detail the following headings.
And:If all sockets at the input of the And block receive True input, the block will output True, otherwise the block will output False.
Or:If any of the sockets at the input of the And block receives the True input, the block will output True. If all values are False, the block outputs False.
Greater : If the first input of the block is numerically larger than all other inputs, the block will output True. Otherwise, it generates a False value.
Smaller : If the first input of the block is numerically smaller than all other inputs, the block will output True. Otherwise, it generates a False value.
Equal: If the first input of the block is equal to all other inputs, it will output True. Otherwise, it generates a False value.
Not Equal: If the first input of the block is not equal to all other inputs, it will output True. Otherwise, it generates a False value.

## Logic Operations Node Documentation

The `Logic Operations` node in AugeLab Studio allows you to perform various logical operations on the input data. You can select an operation from a list of available methods and apply it to the input values.

### Node Overview

The `Logic Operations` node takes one or more inputs and applies the selected logical operation to the inputs. The available operations include AND, OR, greater than, smaller than, equals, and not equals. The output is a boolean value representing the result of the operation.

### Node Interaction

1. 1.
Drag and drop the `Logic Operations` node from the node library onto the canvas in AugeLab Studio.
2. 2.
Connect the input values to the input sockets.
3. 3.
Select the desired logical operation from the dropdown list.
4. 4.
The node will output the result of the applied operation to the output socket.

### Operation Selection

The `Logic Operations` node provides a dropdown list of available logical operations. You can select an operation from the list to apply it to the input values.

### Input and Output Sockets

The `Logic Operations` node has one or more input sockets to receive the input values. The number of input sockets depends on the selected logical operation. The output socket is a boolean type to represent the result of the operation.

### Implementation Details

The `Logic Operations` node implements the following logic:
1. 1.
Input Retrieval: The node retrieves the input values from the input sockets.
2. 2.
Operation Selection: The node checks the selected logical operation from the dropdown list.
3. 3.
Operation Execution: The node performs the selected logical operation on the input values.
4. 4.
Result Generation: The node generates a boolean value representing the result of the operation.
5. 5.
Output: The node outputs the boolean result to the output socket.

### Usage

1. 1.
Drag and drop the `Logic Operations` node from the node library onto the canvas in AugeLab Studio.
2. 2.
Connect the input values to the input sockets.
3. 3.
Select the desired logical operation from the dropdown list.
4. 4.
Run the pipeline or execute the node to perform the logical operation.
5. 5.
Retrieve the boolean result from the output socket.
6. 6.
Use the boolean result in downstream nodes or conditions as needed.

### Notes

• The `Logic Operations` node allows you to perform various logical operations on input values in your data processing pipeline.
• It provides a range of operations such as AND, OR, greater than, smaller than, equals, and not equals.
• You can select the operation from a dropdown list and apply it to the input values.
• The node dynamically updates its input and output sockets based on the selected operation.
• It supports generic input data, allowing you to apply logical operations to different types of values.
• The node enhances the flexibility and modularity of your pipeline by encapsulating logical operations.
• It helps in decision making, conditional branching, and data filtering tasks that involve logical comparisons.
• The `Logic Operations` node is applicable in various domains, including data science, machine learning, and algorithm development.
• It can be combined with other nodes and operations to perform complex logical operations and evaluations.
• The node can be extended or customized to support additional logical operations or specialized functions.
• It is recommended to connect the output of the `Logic Operations` node to nodes or steps that require the result of the operation.
• The node provides a simple and efficient way to perform logical operations on input values in your data pipeline.