Click here to Skip to main content
15,880,725 members
Home / Discussions / Algorithms
   

Algorithms

 
AnswerRe: Problem in c language Pin
Serhii Oleksenko15-May-21 1:38
professionalSerhii Oleksenko15-May-21 1:38 
QuestionStamp circular trade Pin
Shir Gans29-Nov-20 6:25
Shir Gans29-Nov-20 6:25 
AnswerRe: Stamp circular trade Pin
Gerry Schmitz29-Nov-20 18:40
mveGerry Schmitz29-Nov-20 18:40 
AnswerRe: Stamp circular trade Pin
Mircea Neacsu6-Dec-20 5:45
Mircea Neacsu6-Dec-20 5:45 
GeneralRe: Stamp circular trade Pin
Shir Gans6-Dec-20 7:51
Shir Gans6-Dec-20 7:51 
QuestionGiven an array x, get the array y from a data set of arrays which has the smallest distance to x Pin
Member 1499380315-Nov-20 17:17
Member 1499380315-Nov-20 17:17 
QuestionCLOSED Pin
AlgoHelp13-Nov-20 23:31
AlgoHelp13-Nov-20 23:31 
AnswerRe: How to determine if 2 labelled graphs are identical? Pin
Greg Utas14-Nov-20 1:48
professionalGreg Utas14-Nov-20 1:48 
By identical, I assume you mean isomorphic. See here[^], which speculates that the problem may be NP-intermediate (between P and NP-complete).

Let's call the two graphs G1 and G2. On the surface, the problem seems NP-complete because you have to compare G1 and G2 after renaming the n vertices in G2 using names from G1, so there are n! combinations to try. However, some combinations can be filtered out quickly. For example, a vertex in G2 has to have the same degree (number of edges) as the one it is being compared to in G1. But if this check passes, there's still more checking to do, as in the case of the graph with 6 vertices shown in your link.
Robust Services Core | Software Techniques for Lemmings | Articles
The fox knows many things, but the hedgehog knows one big thing.

GeneralRe: How to determine if 2 labelled graphs are identical? Pin
Greg Utas14-Nov-20 3:04
professionalGreg Utas14-Nov-20 3:04 
GeneralCLOSED Pin
AlgoHelp14-Nov-20 3:49
AlgoHelp14-Nov-20 3:49 
GeneralRe: How to determine if 2 labelled graphs are identical? Pin
Greg Utas14-Nov-20 4:03
professionalGreg Utas14-Nov-20 4:03 
GeneralCLOSED Pin
AlgoHelp14-Nov-20 4:24
AlgoHelp14-Nov-20 4:24 
GeneralRe: How to determine if 2 labelled graphs are identical? Pin
Greg Utas14-Nov-20 5:41
professionalGreg Utas14-Nov-20 5:41 
GeneralRe: How to determine if 2 labelled graphs are identical? Pin
Greg Utas15-Nov-20 1:27
professionalGreg Utas15-Nov-20 1:27 
QuestionLong Division / Assembly Language Style Pin
C-P-User-313-Oct-20 4:34
C-P-User-313-Oct-20 4:34 
AnswerRe: Long Division / Assembly Language Style Pin
Richard Deeming13-Oct-20 4:53
mveRichard Deeming13-Oct-20 4:53 
GeneralRe: Long Division / Assembly Language Style Pin
harold aptroot13-Oct-20 5:31
harold aptroot13-Oct-20 5:31 
AnswerRe: Long Division / Assembly Language Style Pin
trønderen13-Oct-20 6:25
trønderen13-Oct-20 6:25 
GeneralRe: Long Division / Assembly Language Style Pin
Greg Utas13-Oct-20 12:04
professionalGreg Utas13-Oct-20 12:04 
AnswerRe: Long Division / Assembly Language Style Pin
Gerry Schmitz13-Oct-20 8:33
mveGerry Schmitz13-Oct-20 8:33 
AnswerRe: Long Division / Assembly Language Style Pin
Patrice T6-Nov-20 15:46
mvePatrice T6-Nov-20 15:46 
QuestionFinding possible combinations for tetris-like cages Pin
vinaysingh8424-Sep-20 14:25
vinaysingh8424-Sep-20 14:25 
AnswerRe: Finding possible combinations for tetris-like cages Pin
Gerry Schmitz25-Sep-20 7:41
mveGerry Schmitz25-Sep-20 7:41 
AnswerRe: Finding possible combinations for tetris-like cages Pin
vinaysingh8429-Sep-20 13:15
vinaysingh8429-Sep-20 13:15 
QuestionCalculate time complexity step by step of given two program program Pin
Member 1151248623-Sep-20 0:22
Member 1151248623-Sep-20 0:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.