edu.uci.ics.jung.algorithms.blockmodel
Interface EquivalenceAlgorithm

All Known Implementing Classes:
StructurallyEquivalent

public interface EquivalenceAlgorithm

Any blockmodel equivalence algorithm should implement this method; it allows users to access EquivalenceAlgorithms more easily.

Since:
1.3.0
Author:
danyelf

Method Summary
 EquivalenceRelation getEquivalences(Graph g)
          Runs the equivalence algorithm on the given graph, and returns an equivalence relation.
 

Method Detail

getEquivalences

public EquivalenceRelation getEquivalences(Graph g)
Runs the equivalence algorithm on the given graph, and returns an equivalence relation.

Parameters:
g - the graph to be checked for equivalence
Returns:
an EquivalenceRelation