Class NumEdges<U>
java.lang.Object
es.uam.eps.ir.relison.sna.metrics.graph.NumEdges<U>
- Type Parameters:
U- type of the vertices.
- All Implemented Interfaces:
GraphMetric<U>
public class NumEdges<U> extends java.lang.Object implements GraphMetric<U>
Computes the number of edges in the graph.
-
Constructor Summary
Constructors Constructor Description NumEdges() -
Method Summary
-
Constructor Details
-
NumEdges
public NumEdges()
-
-
Method Details
-
compute
Description copied from interface:GraphMetricComputes the value.- Specified by:
computein interfaceGraphMetric<U>- Parameters:
graph- graph metric.- Returns:
- the value of the metric.
-