Class ComplementaryGraphMetric<U>
java.lang.Object
es.uam.eps.ir.relison.sna.metrics.complementary.ComplementaryGraphMetric<U>
- Type Parameters:
U
- Type of the users.
- All Implemented Interfaces:
GraphMetric<U>
public class ComplementaryGraphMetric<U> extends java.lang.Object implements GraphMetric<U>
Computes a graph metric over the complementary graph.
-
Field Summary
Fields Modifier and Type Field Description private GraphMetric<U>
metric
The metric to find on the complementary graph. -
Constructor Summary
Constructors Constructor Description ComplementaryGraphMetric(GraphMetric<U> metric)
Constructor. -
Method Summary
-
Field Details
-
metric
The metric to find on the complementary graph.
-
-
Constructor Details
-
ComplementaryGraphMetric
Constructor.- Parameters:
metric
- the metric to find on the complementary graph.
-
-
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.
-