FB_Tree_Multiset (Function Block)
A collection similiar to a set except it allows for duplicate items. It is implemented using an iterative AVL Tree. This data structure was implemented with the help of Max Goren’s iterative AVL tree in C++. See Function Block’s body for more details.
Extends: FB_Tree_Set
Methods
Insert_Generic
Adds new generic item at into set. The set will store a copy of the generic item so as to not modify the original value outside it’s scope.
Inputs
Name |
Type |
Description |
|---|---|---|
|
Item to store |
Outputs
Name |
Type |
Description |
|---|---|---|
|
|
Indicates whether operation was successful. Success = TRUE, Failure = FALSE |