ApiData().SetBehaviorSubGroup
Sets the SubGroup for the Behavior at the given ID.
Description
This function adds knowledge to the current SILVIA Brain by setting the SubGroup of the Behavior at the given ID. This SubGroup has no functional value to the SILVIA algorithms and is only intended as an organizational tool.
Example Usage (C#)
bool success = _core.ApiData().SetBehaviorSubGroup(5, “greeting”);
Parameters
int |
id |
The integer numeric value or variable representing the unique ID of the Behavior. |
string |
subgroup |
The string representing the new SubGroup for the Behavior. A null will be ignored. |
Returns
The boolean success or failure of the operation.
See Also
- ApiData().SetBehaviorName
- ApiData().SetBehaviorGroup