public class IsoMatcher extends Object
Iso for isomorphism for ordered lists.
See IsoAlg for the isomorphism algorithm.| Constructor and Description |
|---|
IsoMatcher(List<org.apache.jena.atlas.lib.tuple.Tuple<Node>> g1,
List<org.apache.jena.atlas.lib.tuple.Tuple<Node>> g2,
EqualityTest nodeTest)
Deprecated.
Use
match() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isomorphic(Collection<org.apache.jena.atlas.lib.tuple.Tuple<Node>> x1,
Collection<org.apache.jena.atlas.lib.tuple.Tuple<Node>> x2)
Collection of tuples isomorphism
|
static boolean |
isomorphic(Collection<org.apache.jena.atlas.lib.tuple.Tuple<Node>> x1,
Collection<org.apache.jena.atlas.lib.tuple.Tuple<Node>> x2,
EqualityTest nodeTest)
Collection of tuples isomorphism, with choice of when two nodes are "equal".
|
static boolean |
isomorphic(DatasetGraph dsg1,
DatasetGraph dsg2)
Dataset isomorphism
|
static boolean |
isomorphic(Graph g1,
Graph g2)
Graph isomorphism
|
boolean |
match()
Deprecated.
Use
match() |
static List<org.apache.jena.atlas.lib.tuple.Tuple<Node>> |
tuplesQuads(Iterator<Quad> iter)
Helper - convert to
List<Tuple<Node>> |
static List<org.apache.jena.atlas.lib.tuple.Tuple<Node>> |
tuplesTriples(Iterator<Triple> iter)
Helper - convert to
List<Tuple<Node>> |
@Deprecated public IsoMatcher(List<org.apache.jena.atlas.lib.tuple.Tuple<Node>> g1, List<org.apache.jena.atlas.lib.tuple.Tuple<Node>> g2, EqualityTest nodeTest)
match()public static boolean isomorphic(DatasetGraph dsg1, DatasetGraph dsg2)
public static boolean isomorphic(Collection<org.apache.jena.atlas.lib.tuple.Tuple<Node>> x1, Collection<org.apache.jena.atlas.lib.tuple.Tuple<Node>> x2)
public static List<org.apache.jena.atlas.lib.tuple.Tuple<Node>> tuplesTriples(Iterator<Triple> iter)
List<Tuple<Node>>public static List<org.apache.jena.atlas.lib.tuple.Tuple<Node>> tuplesQuads(Iterator<Quad> iter)
List<Tuple<Node>>public static boolean isomorphic(Collection<org.apache.jena.atlas.lib.tuple.Tuple<Node>> x1, Collection<org.apache.jena.atlas.lib.tuple.Tuple<Node>> x2, EqualityTest nodeTest)
IsoAlg.isIsomorphic(Collection, Collection, org.apache.jena.sparql.util.Iso.Mappable, EqualityTest)
for isomorphisms testing for more than just blank nodes.@Deprecated public boolean match()
match()Licenced under the Apache License, Version 2.0