At each step, the algorithm estimates attentions for each neighboring edges by Ψ.
there are several existing expressions of Ψ, e.g., the dot product (Sukhbaatar et al., 2015) and the single-layer perceptron (Bahdanau et al., 2015).