Equality node
ReactiveMP.EqualityNode — TypeEqualityNodeGeneric idea of an equality node is to keep track of intermediate left and right messages in a convenient manner so they can be reused during prod for random variables with large degree.
<- left –––- right -> ––- | = | ––– –––- | | outbound
Attributes:
left: An observable that indicates thatleftmessage can be computed, always sendsmissingsince we are not interested in actual value. Can be treated as notification.right: An observable that indicates thatrightmessage can be computed, always sendsmissingsince we are not interested in actual value. Can be treated as notification.cache_left: Keeps cached value for left outbound message, node itself does not track if cache is valid or not. Cache integrity is tracked byEqualityChain.cache_right: Keeps cached value for right outbound message, node itself does not track if cache is valid or not. Cache integrity is tracked byEqualityChain.
See also: EqualityChain
ReactiveMP.EqualityChain — TypeEqualityChain