new Binding(y, x, bopt, normalizedopt)
- Description:
Implements a macroscopic ersatz of a VSA left-binding/unbinding.
- Implements the VTB
B(y) x
andB(y~) x
operators, i.e., either- the binding of
x
by theVTB
matrix ofy
, - the unbinding of
x
by theVTB
matrix ofy~
, withB(y~) = B(y)^T
.
- the binding of
- The binding name
B(y)_x
is calculated from its member name. - The binding belief
tau = tau_y tau_x
andsigma = sigma_0 + sigma_y + sigma_x
is calculated from its member belief.
- Implements the VTB
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
y |
Symbol | The y symbol. |
||
x |
Symbol | The x symbol. |
||
b |
bool |
<optional> |
true
|
If true constructs a binding, if false construct an unbinding. |
normalized |
bool |
<optional> |
false
|
If true the mesoscopic computed vector is normalized to a unary magnitude. |
Methods
y() → {Symbol}
- Description:
Returns the binding operator y left parameter.
Returns:
The y value.
- Type
- Symbol
x() → {Symbol}
- Description:
Returns the binding operator x left parameter.
Returns:
The x value.
- Type
- Symbol
b() → {bool}
- Description:
Returns the binding/unbinding flag.
Returns:
If true the operation is a bindind, if false it is an unbinding.
- Type
- bool
normalized() → {bool}
- Description:
Returns the normalize flag.
Returns:
If true mesoscopic computed vector is normalized to a unary magnitude.
- Type
- bool
asString() → {String}
- Description:
Returns the value as a string.
Returns:
A string of the B_(y)(x)_<belief>
for binding or B_(y~)(x)_<belief>
for unbinding, omitting the belief if tau=1, sigma=0
.
- Type
- String