Click here to Skip to main content
15,900,461 members
Home / Discussions / Algorithms
   

Algorithms

 
GeneralRe: Good way to detect a useful portion of equivalent expressions Pin
David19871-Apr-11 3:35
David19871-Apr-11 3:35 
GeneralRe: Good way to detect a useful portion of equivalent expressions Pin
mbyamukama3-Apr-11 2:08
mbyamukama3-Apr-11 2:08 
GeneralRe: Good way to detect a useful portion of equivalent expressions [modified] Pin
David19873-Apr-11 2:35
David19873-Apr-11 2:35 
AnswerRe: Good way to detect a useful portion of equivalent expressions Pin
Alex Shtof9-Apr-11 10:47
Alex Shtof9-Apr-11 10:47 
GeneralRe: Good way to detect a useful portion of equivalent expressions Pin
David19879-Apr-11 21:14
David19879-Apr-11 21:14 
GeneralRe: Good way to detect a useful portion of equivalent expressions Pin
Alex Shtof11-Apr-11 9:06
Alex Shtof11-Apr-11 9:06 
GeneralRe: Good way to detect a useful portion of equivalent expressions Pin
David198711-Apr-11 9:14
David198711-Apr-11 9:14 
AnswerRe: Good way to detect a useful portion of equivalent expressions Pin
dasblinkenlight11-Apr-11 9:21
dasblinkenlight11-Apr-11 9:21 
This is an excellent question - the bad news is, the answer is rather complicated. You would need to implement a unification algorithm[^] to do it correctly.

Things would not be as bad if you considered Prolog[^] as the language for your implementation, but something tells me that that would be out of the question Wink | ;)

On the other hand, you can always embed Prolog to get unification for free.

But no matter how you look at it, the learning curve is going to be steep.

Good luck!
GeneralRe: Good way to detect a useful portion of equivalent expressions Pin
David198711-Apr-11 18:50
David198711-Apr-11 18:50 
GeneralRe: Good way to detect a useful portion of equivalent expressions Pin
dasblinkenlight12-Apr-11 8:15
dasblinkenlight12-Apr-11 8:15 
Questionjava or C# , which better? Pin
Anwar Isaed9-Mar-11 23:12
Anwar Isaed9-Mar-11 23:12 
AnswerRe: java or C# , which better? Pin
Pravin Patil, Mumbai9-Mar-11 23:26
Pravin Patil, Mumbai9-Mar-11 23:26 
AnswerRe: java or C# , which better? Pin
RobCroll10-Mar-11 0:29
RobCroll10-Mar-11 0:29 
GeneralRe: java or C# , which better? Pin
David198710-Mar-11 2:15
David198710-Mar-11 2:15 
AnswerRe: java or C# , which better? Pin
Eddy Vluggen10-Mar-11 1:24
professionalEddy Vluggen10-Mar-11 1:24 
AnswerRe: java or C# , which better? Pin
riced10-Mar-11 3:12
riced10-Mar-11 3:12 
GeneralRe: java or C# , which better? Pin
Bernhard Hiller10-Mar-11 3:14
Bernhard Hiller10-Mar-11 3:14 
GeneralRe: java or C# , which better? Pin
riced10-Mar-11 3:31
riced10-Mar-11 3:31 
JokeRe: java or C# , which better? Pin
Richard MacCutchan10-Mar-11 5:31
mveRichard MacCutchan10-Mar-11 5:31 
AnswerRe: java or C# , which better? Pin
Bernhard Hiller10-Mar-11 3:14
Bernhard Hiller10-Mar-11 3:14 
AnswerRe: java or C# , which better? Pin
Richard MacCutchan10-Mar-11 3:21
mveRichard MacCutchan10-Mar-11 3:21 
AnswerRe: java or C# , which better? Pin
_Erik_11-Mar-11 2:38
_Erik_11-Mar-11 2:38 
AnswerRe: java or C# , which better? Pin
Alan Balkany11-Mar-11 4:46
Alan Balkany11-Mar-11 4:46 
AnswerRe: java or C# , which better? Pin
Luc Pattyn11-Mar-11 5:17
sitebuilderLuc Pattyn11-Mar-11 5:17 
GeneralRe: java or C# , which better? Pin
Anwar Isaed23-Mar-11 23:15
Anwar Isaed23-Mar-11 23:15 

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.