Class IsoMatcherImpl<V,E,G extends org.jgrapht.Graph<V,E>>

java.lang.Object
org.aksw.commons.graph.index.jena.IsoMatcherImpl<V,E,G>
All Implemented Interfaces:
org.aksw.commons.graph.index.core.IsoMatcher<G,V>

public class IsoMatcherImpl<V,E,G extends org.jgrapht.Graph<V,E>> extends Object implements org.aksw.commons.graph.index.core.IsoMatcher<G,V>
  • Field Details

    • createVertexComparator

      protected Function<com.google.common.collect.BiMap<? extends V,? extends V>,Comparator<V>> createVertexComparator
    • createEdgeComparator

      protected Function<com.google.common.collect.BiMap<? extends V,? extends V>,Comparator<E>> createEdgeComparator
  • Constructor Details

    • IsoMatcherImpl

      public IsoMatcherImpl(Function<com.google.common.collect.BiMap<? extends V,? extends V>,Comparator<V>> createVertexComparator, Function<com.google.common.collect.BiMap<? extends V,? extends V>,Comparator<E>> createEdgeComparator)
  • Method Details

    • toProblem

      public org.aksw.combinatorics.solvers.ProblemNeighborhoodAware<com.google.common.collect.BiMap<V,V>,V> toProblem(com.google.common.collect.BiMap<? extends V,? extends V> baseIso, G viewGraph, G insertGraph)
    • match

      public Iterable<com.google.common.collect.BiMap<V,V>> match(com.google.common.collect.BiMap<? extends V,? extends V> baseIso, G viewGraph, G insertGraph)
      Make sure that baseIso is not modified
      Specified by:
      match in interface org.aksw.commons.graph.index.core.IsoMatcher<V,E>