new AssociativeNetwork(nameopt)
- Description:
Implements a macroscopic ersatz of a VSA associative network.
- An associative network is created adding new key/value pairs of symbol.
- It is implemented via a matrix of the form
>_i value_i key_i^T
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
name |
string |
<optional> |
An optional name. By default, a Extends: AssociativeMap, with all public methods available. |
Methods
add(key, value)
- Description:
Adds a new symbol pair to the container.
Parameters:
| Name | Type | Description |
|---|---|---|
key |
Symbol | The symbol key to add. |
value |
Symbol | The symbol value to add. |