-
Notifications
You must be signed in to change notification settings - Fork 61
Closed
Labels
bugA label for issues that are bugsA label for issues that are bugs
Description
I used the method SubdigraphsMonomorphisms for my algorithms and for this example:
G:=Digraph([ [ 5, 7, 8 ], [ 5, 6, 7 ], [ 4, 6, 8 ], [ 3, 6, 7, 8 ], [ 1, 2, 6, 7, 8 ], [ 2, 3, 4, 5, 7, 8 ], [ 1, 2, 4, 5, 6, 8 ], [ 1, 3, 4, 5, 6, 7 ] ]);
H:=Digraph([[2,3,4],[1,3,4],[1,2,4],[1,2,3,5,6,7],[4,6,7],[4,5,7],[4,5,6]]);
For this example SubdigraphsMonomorphisms(H,G) returns an empty list but MonomorphismsDigraphs(H,G) not. In my opinion this is a contradiction.
I debugged the code and I think the problem is in HomomorphismDigraphsFinder, because:
HomomorphismDigraphsFinder(H, # domain
G, # range
fail, # hook
[], # user_param
1, # max_results
HN, # hint (i.e. rank)
true, # injective
[ 1, 3, 4, 5, 6, 7, 8 ], # image
[], # partial_map
fail, # colors1
fail, # colors2
DigraphWelshPowellOrder(H));
returns an empty list but
HomomorphismDigraphsFinder(H, # domain
G, # range
fail, # hook
[], # user_param
1, # max_results
HN, # hint (i.e. rank)
true, # injective
[2,3,4,5,6,7,8], # image
[], # partial_map
fail, # colors1
fail, # colors2
DigraphWelshPowellOrder(H));
returns a transformation and the both given images lie in the same orbit under the automorphism group of G.
Metadata
Metadata
Assignees
Labels
bugA label for issues that are bugsA label for issues that are bugs