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<ch.akuhn.matrix.Vector>> |
eigenIterator(ch.akuhn.matrix.eigenvalues.Eigenvalues evd) |
ch.akuhn.matrix.SparseMatrix |
laplacian(ch.akuhn.matrix.SparseMatrix adj) |
abstract ch.akuhn.matrix.SparseMatrix |
laplacian(ch.akuhn.matrix.SparseMatrix adj,
org.openimaj.math.matrix.DiagonalMatrix degree) |
public GraphLaplacian()
public ch.akuhn.matrix.SparseMatrix laplacian(ch.akuhn.matrix.SparseMatrix adj)
adj - the adjanceny matrix should be square and symmetricpublic abstract ch.akuhn.matrix.SparseMatrix laplacian(ch.akuhn.matrix.SparseMatrix adj, org.openimaj.math.matrix.DiagonalMatrix degree)
adj - square and symmetricdegree - the sum of the adjacency for a node in the diagonalspublic Iterator<DoubleObjectPair<ch.akuhn.matrix.Vector>> eigenIterator(ch.akuhn.matrix.eigenvalues.Eigenvalues evd)
evd -