Class UndirectedPairGenerator<E>
- java.lang.Object
-
- org.opennms.enlinkd.generator.topology.UndirectedPairGenerator<E>
-
- All Implemented Interfaces:
PairGenerator<E>
public class UndirectedPairGenerator<E> extends Object implements PairGenerator<E>
Takes a list and generates pairs among its elements. It tries to distribute the pairs equally as in as least same pairs as possible. Pair(a,b) counts as equal to Pair(b,a).
-
-
Constructor Summary
Constructors Constructor Description UndirectedPairGenerator(List<E> elements)
-