Click here to Skip to main content
15,890,123 members
Home / Discussions / Algorithms
   

Algorithms

 
Question[Closure and System.Reflection] Pin
Member 823782310-Aug-13 1:43
Member 823782310-Aug-13 1:43 
QuestionGARCH algo Pin
ExcellentOrg5-Aug-13 22:46
ExcellentOrg5-Aug-13 22:46 
QuestionHow to find the shortest path between two nodes in a undigraph and it should via several given nodes? Pin
ahuzhangbo2-Aug-13 19:08
ahuzhangbo2-Aug-13 19:08 
AnswerRe: How to find the shortest path between two nodes in a undigraph and it should via several given nodes? Pin
Argonia14-Aug-13 5:10
professionalArgonia14-Aug-13 5:10 
GeneralRe: How to find the shortest path between two nodes in a undigraph and it should via several given nodes? Pin
ahuzhangbo14-Aug-13 15:30
ahuzhangbo14-Aug-13 15:30 
GeneralRe: How to find the shortest path between two nodes in a undigraph and it should via several given nodes? Pin
Argonia14-Aug-13 21:36
professionalArgonia14-Aug-13 21:36 
GeneralRe: How to find the shortest path between two nodes in a undigraph and it should via several given nodes? Pin
ahuzhangbo15-Aug-13 0:21
ahuzhangbo15-Aug-13 0:21 
GeneralRe: How to find the shortest path between two nodes in a undigraph and it should via several given nodes? Pin
Argonia15-Aug-13 1:22
professionalArgonia15-Aug-13 1:22 
Actually you can have in your path duplicate nodes. Consider the following possibility
A is your first node , B last and the P, Q, R are the intermediate, and you have the following edges
(A,P) (A,Q) (Q,R) (R,B). You cannot escape from duplicating A . Its impossible to make a path without it Smile | :)

If the algorithm creates path with duplication of some of the nodes that means you have similar situation. Normally using BFS you still have the visited nodes and you can filter the visited or better put them in different queue to be used only in case you don't find other path between the current 2 nodes

Node: if you filter them in some cases you wont find a path Smile | :)
Microsoft ... the only place where VARIANT_TRUE != true

GeneralRe: How to find the shortest path between two nodes in a undigraph and it should via several given nodes? Pin
ahuzhangbo15-Aug-13 16:03
ahuzhangbo15-Aug-13 16:03 
AnswerRe: How to find the shortest path between two nodes in a undigraph and it should via several given nodes? Pin
Member 1222963626-Dec-15 6:59
Member 1222963626-Dec-15 6:59 
Questionneed help in algorithum Pin
snehal1221-Aug-13 21:16
snehal1221-Aug-13 21:16 
GeneralRe: need help in algorithum Pin
harold aptroot1-Aug-13 22:05
harold aptroot1-Aug-13 22:05 
GeneralRe: need help in algorithum Pin
Richard MacCutchan1-Aug-13 23:16
mveRichard MacCutchan1-Aug-13 23:16 
GeneralRe: need help in algorithum Pin
Bernhard Hiller2-Aug-13 0:02
Bernhard Hiller2-Aug-13 0:02 
AnswerRe: need help in algorithum Pin
SoMad2-Aug-13 0:08
professionalSoMad2-Aug-13 0:08 
GeneralRe: need help in algorithum Pin
koll Zhu22-Sep-13 23:55
koll Zhu22-Sep-13 23:55 
QuestionCubic Spline Interpolation [Answered] Pin
Skippums18-Jul-13 15:02
Skippums18-Jul-13 15:02 
AnswerRe: Cubic Spline Interpolation Pin
Bernhard Hiller18-Jul-13 20:53
Bernhard Hiller18-Jul-13 20:53 
GeneralRe: Cubic Spline Interpolation Pin
Skippums19-Jul-13 7:38
Skippums19-Jul-13 7:38 
GeneralRe: Cubic Spline Interpolation Pin
Stefan_Lang22-Jul-13 1:21
Stefan_Lang22-Jul-13 1:21 
AnswerRe: Cubic Spline Interpolation Pin
Stefan_Lang22-Jul-13 2:07
Stefan_Lang22-Jul-13 2:07 
AnswerRe: Cubic Spline Interpolation Pin
Skippums23-Jul-13 11:57
Skippums23-Jul-13 11:57 
QuestionHow to determine whether change over time is an outlier Pin
GuyThiebaut7-Jul-13 0:02
professionalGuyThiebaut7-Jul-13 0:02 
AnswerRe: How to determine whether change over time is an outlier Pin
Manfred Rudolf Bihy23-Jul-13 11:22
professionalManfred Rudolf Bihy23-Jul-13 11:22 
GeneralRe: How to determine whether change over time is an outlier Pin
GuyThiebaut23-Jul-13 21:55
professionalGuyThiebaut23-Jul-13 21:55 

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.