public static class VertexMetrics.Result extends Object
Constructor and Description |
---|
Result(long vertexCount,
long unidirectionalEdgeCount,
long bidirectionalEdgeCount,
long tripletCount,
long maximumDegree,
long maximumOutDegree,
long maximumInDegree,
long maximumTriplets) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
float |
getAverageDegree()
Get the average degree.
|
long |
getMaximumDegree()
Get the maximum degree.
|
long |
getMaximumInDegree()
Get the maximum in degree.
|
long |
getMaximumOutDegree()
Get the maximum out degree.
|
long |
getMaximumTriplets()
Get the maximum triplets.
|
long |
getNumberOfDirectedEdges()
Get the number of unidirectional edges.
|
long |
getNumberOfEdges()
Get the number of edges.
|
long |
getNumberOfTriplets()
Get the number of triplets.
|
long |
getNumberOfUndirectedEdges()
Get the number of bidirectional edges.
|
long |
getNumberOfVertices()
Get the number of vertices.
|
int |
hashCode() |
String |
toString() |
public Result(long vertexCount, long unidirectionalEdgeCount, long bidirectionalEdgeCount, long tripletCount, long maximumDegree, long maximumOutDegree, long maximumInDegree, long maximumTriplets)
public long getNumberOfVertices()
public long getNumberOfEdges()
public long getNumberOfDirectedEdges()
public long getNumberOfUndirectedEdges()
public float getAverageDegree()
public long getNumberOfTriplets()
public long getMaximumDegree()
public long getMaximumOutDegree()
public long getMaximumInDegree()
public long getMaximumTriplets()
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.