public abstract class GraphLaplacian extends Object
Modifier and Type | Class and Description |
---|---|
static class |
GraphLaplacian.Normalised
The inverted symmetric normalised Laplacian is defined as:
L = D^-1/2 A D^-1/2
|
static class |
GraphLaplacian.Unnormalised
The symmetric normalised Laplacian is defined as:
L = D - W
|
static class |
GraphLaplacian.Warped
The inverted symmetric normalised Laplacian is defined as:
L = D^-1 .
|
Constructor and Description |
---|
GraphLaplacian() |
Modifier and Type | Method and Description |
---|---|
Iterator<DoubleObjectPair<Vector>> |
eigenIterator(Eigenvalues evd) |
SparseMatrix |
laplacian(SparseMatrix adj) |
abstract SparseMatrix |
laplacian(SparseMatrix adj,
DiagonalMatrix degree) |
public GraphLaplacian()
public SparseMatrix laplacian(SparseMatrix adj)
adj
- the adjanceny matrix should be square and symmetricpublic abstract SparseMatrix laplacian(SparseMatrix adj, DiagonalMatrix degree)
adj
- square and symmetricdegree
- the sum of the adjacency for a node in the diagonalspublic Iterator<DoubleObjectPair<Vector>> eigenIterator(Eigenvalues evd)
evd
-