normalized Laplacian #1227
Comments
@andferrari sorry for the delayed response. ping @jpfairbanks |
So the way the |
Thank you for your detailed answer. However, I am not able to reproduce your example. |
ping @jpfairbanks :) |
You should be able to do |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
So you have to chain the constructors. Like the following: g = Graph(10,30)
A = CombinatorialAdjacency(adjacency_matrix(g).+ 0.0)
 = NormalizedAdjacency(A)
L̂ = NormalizedLaplacian(Â) We could add additional constructors like |
many thanks! I was missing the It would indeed be a good idea. Do you mean ? NormalizedLaplacian(g::SimpleGraph) = NormalizedLaplacian(NormalizedAdjacency(CombinatorialAdjacency(adjacency_matrix(g).+ 0.0))) or NormalizedLaplacian(A::SparseMatrix) = NormalizedLaplacian(NormalizedAdjacency(CombinatorialAdjacency(A.+ 0.0))) |
Hey all, I'm going to close this out. If either / both of you want to work on a PR to implement the additional constructors, please have at it :) |
The type
NormalizedLaplacian
is defined but not the function to compute the normalized Laplacian from the graph.Did I miss something?
The text was updated successfully, but these errors were encountered: