| Modifier and Type | Class and Description |
|---|---|
static class |
Spectrum.EigenValuesAlgorithm |
| Constructor and Description |
|---|
Spectrum() |
| Modifier and Type | Method and Description |
|---|---|
void |
compute()
Run the algorithm.
|
double |
getEigenvalue(int i) |
double[] |
getEigenvalues() |
int |
getEigenvaluesCount() |
double[] |
getEigenvector(int i) |
double |
getLargestEigenvalue() |
void |
init(org.graphstream.graph.Graph graph)
Initialization of the algorithm.
|
static void |
main(String... args) |
public void init(org.graphstream.graph.Graph graph)
AlgorithmAlgorithm.compute() method to initialize or reset the algorithm according
to the new given graph.public void compute()
AlgorithmAlgorithm.init(Graph) method has to be called
before computing.compute in interface AlgorithmAlgorithm.init(Graph)public int getEigenvaluesCount()
public double getEigenvalue(int i)
public double[] getEigenvalues()
public double[] getEigenvector(int i)
public double getLargestEigenvalue()
public static void main(String... args)
Copyright © 2015. All rights reserved.