Class AggregateVertexMetric<U>
java.lang.Object
es.uam.eps.ir.relison.sna.metrics.graph.aggregate.AggregateVertexMetric<U>
- Type Parameters:
U
- type of the users.
- All Implemented Interfaces:
GraphMetric<U>
public class AggregateVertexMetric<U> extends java.lang.Object implements GraphMetric<U>
Graph metric computed as the aggregation of an vertex metric over the nodes in the network.
-
Field Summary
Fields Modifier and Type Field Description private VertexMetric<U>
vertexMetric
Vertex metric. -
Constructor Summary
Constructors Constructor Description AggregateVertexMetric(VertexMetric<U> vertexMetric)
Constructor. -
Method Summary
-
Field Details
-
vertexMetric
Vertex metric.
-
-
Constructor Details
-
AggregateVertexMetric
Constructor.- Parameters:
vertexMetric
- Vertex metric.
-
-
Method Details
-
compute
Description copied from interface:GraphMetric
Computes the value.- Specified by:
compute
in interfaceGraphMetric<U>
- Parameters:
graph
- graph metric.- Returns:
- the value of the metric.
-