Click here to Skip to main content
15,887,285 members
Home / Discussions / Algorithms
   

Algorithms

 
GeneralRe: An algorithm checking balance of html tags Pin
Richard Deeming6-Jun-18 1:26
mveRichard Deeming6-Jun-18 1:26 
GeneralRe: An algorithm checking balance of html tags Pin
Eddy Vluggen6-Jun-18 1:39
professionalEddy Vluggen6-Jun-18 1:39 
GeneralRe: An algorithm checking balance of html tags Pin
Gerry Schmitz6-Jun-18 5:42
mveGerry Schmitz6-Jun-18 5:42 
GeneralRe: An algorithm checking balance of html tags Pin
Richard Deeming6-Jun-18 5:53
mveRichard Deeming6-Jun-18 5:53 
GeneralRe: An algorithm checking balance of html tags Pin
Gerry Schmitz6-Jun-18 6:25
mveGerry Schmitz6-Jun-18 6:25 
QuestionRecursive Best First Search for Pathfinding? Pin
Robert Vandenberg Huang26-May-18 3:29
professionalRobert Vandenberg Huang26-May-18 3:29 
AnswerRe: Recursive Best First Search for Pathfinding? Pin
Gerry Schmitz29-May-18 7:20
mveGerry Schmitz29-May-18 7:20 
AnswerRe: Recursive Best First Search for Pathfinding? Pin
Member 1386820111-Jun-18 16:25
Member 1386820111-Jun-18 16:25 
It is a normal behaviour as RBFS is heuristic, so it discards some branches of the solution tree which may contain the solution. There are some heuristic algorithms, also for some graph problems, that find a solution which is not optimal but they at least find something close to the solution, which is satisfactory, whereas the other heuristic algorithms, when they miss the solution path, they will give you no results.


For finding paths in graphs, heuristic algorithms should be used only if you do not have enough memory for a regular BFS. They usually provide no solution if they miss them. I am now writing solving diamond peg solitaire with BFS, which should be ready within a couple of days on my site
informatyka-delphi.blogspot.com
If I am lucky, the graph will have up to 15 GB, compressed graph 4GB, so I shall find the solution with BFS.
QuestionWhich one is better O(V+E) or O(ElogE)? Pin
Member 138067031-May-18 8:14
Member 138067031-May-18 8:14 
AnswerRe: Which one is better O(V+E) or O(ElogE)? Pin
Gerry Schmitz2-May-18 8:39
mveGerry Schmitz2-May-18 8:39 
AnswerRe: Which one is better O(V+E) or O(ElogE)? Pin
Lauren Ragsdale3-May-18 8:06
Lauren Ragsdale3-May-18 8:06 
QuestionProblem with understanding aes gcm algorithm Pin
Member 1380418229-Apr-18 16:14
Member 1380418229-Apr-18 16:14 
AnswerRe: Problem with understanding aes gcm algorithm Pin
Richard MacCutchan29-Apr-18 21:26
mveRichard MacCutchan29-Apr-18 21:26 
GeneralRe: Problem with understanding aes gcm algorithm Pin
Member 138041821-May-18 3:41
Member 138041821-May-18 3:41 
GeneralRe: Problem with understanding aes gcm algorithm Pin
Gerry Schmitz1-May-18 5:09
mveGerry Schmitz1-May-18 5:09 
GeneralRe: Problem with understanding aes gcm algorithm Pin
Eddy Vluggen1-May-18 5:20
professionalEddy Vluggen1-May-18 5:20 
QuestionSub-Pixel Edge Detection - Implementing according to Carsten Steger's method. Pin
Member 1378530717-Apr-18 21:03
Member 1378530717-Apr-18 21:03 
QuestionProblem with variation of gas station problem. Pin
Karol Nowak16-Apr-18 2:42
Karol Nowak16-Apr-18 2:42 
AnswerRe: Problem with variation of gas station problem. Pin
Karol Nowak16-Apr-18 22:44
Karol Nowak16-Apr-18 22:44 
AnswerRe: Problem with variation of gas station problem. Pin
Daniel Pfeffer17-Apr-18 22:38
professionalDaniel Pfeffer17-Apr-18 22:38 
QuestionProving an algorithm wrong Pin
Member 1377958614-Apr-18 6:39
Member 1377958614-Apr-18 6:39 
AnswerRe: Proving an algorithm wrong Pin
Richard Andrew x6415-Apr-18 6:04
professionalRichard Andrew x6415-Apr-18 6:04 
GeneralRe: Proving an algorithm wrong Pin
Gerry Schmitz15-Apr-18 8:05
mveGerry Schmitz15-Apr-18 8:05 
GeneralRe: Proving an algorithm wrong Pin
Richard Andrew x6415-Apr-18 8:26
professionalRichard Andrew x6415-Apr-18 8:26 
GeneralRe: Proving an algorithm wrong Pin
Richard MacCutchan15-Apr-18 21:30
mveRichard MacCutchan15-Apr-18 21:30 

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.