Class MatchingAlgorithm.MatchingImpl<V,E>

java.lang.Object
org.jgrapht.alg.interfaces.MatchingAlgorithm.MatchingImpl<V,E>
Type Parameters:
V - the graph vertex type
E - the graph edge type
All Implemented Interfaces:
Serializable, Iterable<E>, MatchingAlgorithm.Matching<V,E>
Enclosing interface:
MatchingAlgorithm<V,E>

public static class MatchingAlgorithm.MatchingImpl<V,E> extends Object implements MatchingAlgorithm.Matching<V,E>, Serializable
A default implementation of the matching interface.
See Also:
  • Constructor Details

    • MatchingImpl

      public MatchingImpl(Graph<V,E> graph, Set<E> edges, double weight)
      Construct a new instance
      Parameters:
      graph - graph on which the matching is defined
      edges - the edges of the matching
      weight - the weight of the matching
  • Method Details