Class RelationStatistics
java.lang.Object
org.impulsegraph.api.stats.RelationStatistics
Immutable statistics container representing structural and algebraic
properties of a single relation snapshot.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionRelationStatistics(int nodeCount, int edgeCount, int uniqueSourceNodes, int maxDegree, double avgDegree, double stdDevDegree, int p50Degree, int p90Degree, int p99Degree, double sparsity, ImpulseBitSet supernodeBitSet) RelationStatistics(int nodeCount, int edgeCount, int uniqueSourceNodes, int maxDegree, double avgDegree, double stdDevDegree, int p50Degree, int p90Degree, int p99Degree, double sparsity, ImpulseBitSet supernodeBitSet, RelationStatistics.Multiplicity multiplicity, int maxInDegree, double avgInDegree, boolean isAcyclic, boolean isSymmetric, boolean isTransitive) -
Method Summary
Modifier and TypeMethodDescriptiondoubledoubleintintintintintintintdoubledoubleintbooleanbooleanbooleanbooleanbooleanisSupernode(int nodeIndex) booleanboolean
-
Constructor Details
-
RelationStatistics
public RelationStatistics(int nodeCount, int edgeCount, int uniqueSourceNodes, int maxDegree, double avgDegree, double stdDevDegree, int p50Degree, int p90Degree, int p99Degree, double sparsity, ImpulseBitSet supernodeBitSet) -
RelationStatistics
public RelationStatistics(int nodeCount, int edgeCount, int uniqueSourceNodes, int maxDegree, double avgDegree, double stdDevDegree, int p50Degree, int p90Degree, int p99Degree, double sparsity, ImpulseBitSet supernodeBitSet, RelationStatistics.Multiplicity multiplicity, int maxInDegree, double avgInDegree, boolean isAcyclic, boolean isSymmetric, boolean isTransitive)
-
-
Method Details
-
getNodeCount
public int getNodeCount() -
getEdgeCount
public int getEdgeCount() -
getUniqueSourceNodes
public int getUniqueSourceNodes() -
getMaxDegree
public int getMaxDegree() -
getAvgDegree
public double getAvgDegree() -
getStdDevDegree
public double getStdDevDegree() -
getP50Degree
public int getP50Degree() -
getP90Degree
public int getP90Degree() -
getP99Degree
public int getP99Degree() -
getSparsity
public double getSparsity() -
getSupernodeBitSet
-
isSupernode
public boolean isSupernode(int nodeIndex) -
getMultiplicity
-
getMaxInDegree
public int getMaxInDegree() -
getAvgInDegree
public double getAvgInDegree() -
isAcyclic
public boolean isAcyclic() -
isSymmetric
public boolean isSymmetric() -
isTransitive
public boolean isTransitive() -
isFunctional
public boolean isFunctional() -
isInjective
public boolean isInjective() -
isBijective
public boolean isBijective()
-