public class SubgraphSearch extends GraphMatchingAlgorithm
Constructor and Description |
---|
SubgraphSearch() |
Modifier and Type | Method and Description |
---|---|
java.util.List<Matching> |
compute(Grph g,
Grph p,
boolean induced) |
boolean |
compute(Grph g,
Grph h,
boolean all,
java.util.List<it.unimi.dsi.fastutil.ints.IntArrayList> matchings,
it.unimi.dsi.fastutil.ints.IntArrayList l,
int hv,
boolean induced) |
java.util.List<Matching> |
findAllMatches(Grph g,
Grph pattern) |
static void |
main(java.lang.String[] args) |
findOneMatch, hasMatches
public java.util.List<Matching> findAllMatches(Grph g, Grph pattern)
findAllMatches
in class GraphMatchingAlgorithm
public boolean compute(Grph g, Grph h, boolean all, java.util.List<it.unimi.dsi.fastutil.ints.IntArrayList> matchings, it.unimi.dsi.fastutil.ints.IntArrayList l, int hv, boolean induced)
public static void main(java.lang.String[] args)