public static class AverageClusteringCoefficient.Result extends Object implements PrintableResult
Constructor and Description |
---|
Result(long vertexCount,
double sumOfLocalClusteringCoefficient)
Instantiate an immutable result.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
double |
getAverageClusteringCoefficient()
Get the average clustering coefficient.
|
long |
getNumberOfVertices()
Get the number of vertices.
|
int |
hashCode() |
String |
toPrintableString()
A human-readable representation of this value.
|
String |
toString() |
public Result(long vertexCount, double sumOfLocalClusteringCoefficient)
vertexCount
- vertex countsumOfLocalClusteringCoefficient
- sum over the vertices' local
clustering coefficientspublic long getNumberOfVertices()
public double getAverageClusteringCoefficient()
public String toPrintableString()
PrintableResult
toPrintableString
in interface PrintableResult
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.