2. Exposition of the algorithm
A. Edge weights
wij=exp(−β(gi−gj)2)wij=exp(−β(gi−gj)2)
B. Combinatorial Dirichlet problem
D[u]=12∫Ω|∇u|2dΩD[u]=12∫Ω|∇u|2dΩ
A harmonic function is a function that satisfies the Laplace equation
∇2u=0∇2u=0
Laplacian matrix:
Lij=⎧⎩⎨⎪⎪a−wij0if i=j,if vi and vj are adjacent nodes