public class Iso extends Object
IsoMatcher for
isomorphism for un-ordered collections. In this class, "isomorphism" is based on the
policy in NodeIsomorphismMap, which is blank node isomorphism unless
NodeIsomorphismMap.makeIsomorphic(org.apache.jena.graph.Node, org.apache.jena.graph.Node) is overridden.| Modifier and Type | Class and Description |
|---|---|
static interface |
Iso.Mappable
Interface for choosing the pairs of node that can be map[ped for isomorphism.
|
| Modifier and Type | Field and Description |
|---|---|
static Iso.Mappable |
mappableBlankNodes
Blank nodes are mappable in
IsoAlg |
static Iso.Mappable |
mappableBlankNodesVariables
Blank nodes and variables are mappable in
IsoAlg |
| Constructor and Description |
|---|
Iso() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isomorphicNodes(List<Node> nodes1,
List<Node> nodes2,
NodeIsomorphismMap isoMap) |
static boolean |
isomorphicQuads(List<Quad> quads1,
List<Quad> quads2,
NodeIsomorphismMap isoMap) |
static boolean |
isomorphicTriples(List<Triple> triples1,
List<Triple> triples2,
NodeIsomorphismMap isoMap) |
static boolean |
nodeIso(Node n1,
Node n2,
NodeIsomorphismMap isoMap) |
static boolean |
quadIso(Quad t1,
Quad t2,
NodeIsomorphismMap labelMap) |
static boolean |
tripleIso(Triple t1,
Triple t2,
NodeIsomorphismMap labelMap) |
static boolean |
triplePathIso(TriplePath tp1,
TriplePath tp2,
NodeIsomorphismMap isoMap) |
public static Iso.Mappable mappableBlankNodes
IsoAlgpublic static Iso.Mappable mappableBlankNodesVariables
IsoAlgpublic static boolean isomorphicTriples(List<Triple> triples1, List<Triple> triples2, NodeIsomorphismMap isoMap)
public static boolean isomorphicQuads(List<Quad> quads1, List<Quad> quads2, NodeIsomorphismMap isoMap)
public static boolean isomorphicNodes(List<Node> nodes1, List<Node> nodes2, NodeIsomorphismMap isoMap)
public static boolean triplePathIso(TriplePath tp1, TriplePath tp2, NodeIsomorphismMap isoMap)
public static boolean tripleIso(Triple t1, Triple t2, NodeIsomorphismMap labelMap)
public static boolean quadIso(Quad t1, Quad t2, NodeIsomorphismMap labelMap)
public static boolean nodeIso(Node n1, Node n2, NodeIsomorphismMap isoMap)
Licenced under the Apache License, Version 2.0