Click here to Skip to main content
15,903,362 members
Home / Discussions / Algorithms
   

Algorithms

 
AnswerRe: English Word Tense Pin
Dan Neely25-Sep-06 2:21
Dan Neely25-Sep-06 2:21 
GeneralExtended Midy's Theorem Pin
Bassam Abdul-Baki21-Sep-06 8:52
professionalBassam Abdul-Baki21-Sep-06 8:52 
GeneralRe: Extended Midy's Theorem Pin
Link20061-Oct-06 23:48
Link20061-Oct-06 23:48 
GeneralRe: Extended Midy's Theorem Pin
Shawn Poulson13-Oct-06 7:40
Shawn Poulson13-Oct-06 7:40 
QuestionSimple path finding algorithm Pin
f*** YOU20-Sep-06 19:13
f*** YOU20-Sep-06 19:13 
AnswerRe: Simple path finding algorithm Pin
Cedric Moonen21-Sep-06 2:40
Cedric Moonen21-Sep-06 2:40 
AnswerRe: Simple path finding algorithm Pin
Dan Neely21-Sep-06 4:11
Dan Neely21-Sep-06 4:11 
AnswerRe: Simple path finding algorithm Pin
El Corazon21-Sep-06 6:47
El Corazon21-Sep-06 6:47 
The first step is to find out why the A* chose one path over another. For instance if you compare distance, diagnal is longer on a per-case basis, the lookahead may not be evaluating far enough.

A* and D* both use a series of evaluations to reduce testing everything, find out what it is eliminating and why. Walk the through the algorithm and at test cases output evaluations either to your debugger or even with good old print statements. You are trying to understand why it is making the choices it is.

Once you know why the diagnal path is elliminated then the algorithm can be adjusted.



_________________________
Asu no koto o ieba, tenjo de nezumi ga warau.
Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)

GeneralRe: Simple path finding algorithm Pin
f*** YOU21-Sep-06 12:54
f*** YOU21-Sep-06 12:54 
GeneralRe: Simple path finding algorithm Pin
El Corazon22-Sep-06 11:01
El Corazon22-Sep-06 11:01 
GeneralRe: Simple path finding algorithm Pin
f*** YOU22-Sep-06 12:51
f*** YOU22-Sep-06 12:51 
GeneralRe: Simple path finding algorithm Pin
El Corazon22-Sep-06 14:32
El Corazon22-Sep-06 14:32 
GeneralRe: Simple path finding algorithm Pin
f*** YOU22-Sep-06 16:11
f*** YOU22-Sep-06 16:11 
QuestionPoint on Bezier Curve Pin
PremalathaP19-Sep-06 18:49
PremalathaP19-Sep-06 18:49 
AnswerRe: Point on Bezier Curve Pin
Reagan Conservative20-Sep-06 9:28
Reagan Conservative20-Sep-06 9:28 
AnswerRe: Point on Bezier Curve Pin
Link20061-Oct-06 22:09
Link20061-Oct-06 22:09 
AnswerRe: Point on Bezier Curve Pin
frakier14-Oct-06 14:31
frakier14-Oct-06 14:31 
QuestionMore Math Jokes Pin
Bassam Abdul-Baki19-Sep-06 8:15
professionalBassam Abdul-Baki19-Sep-06 8:15 
AnswerRe: More Math Jokes Pin
Arun.Immanuel3-May-07 4:25
Arun.Immanuel3-May-07 4:25 
GeneralRe: More Math Jokes Pin
Bassam Abdul-Baki3-May-07 4:29
professionalBassam Abdul-Baki3-May-07 4:29 
QuestionFitting triangles in squares Pin
Wjousts19-Sep-06 4:24
Wjousts19-Sep-06 4:24 
AnswerHyper-geometry Pin
Wjousts19-Sep-06 8:02
Wjousts19-Sep-06 8:02 
AnswerRe: Hyper-geometry Pin
Slayer2-Oct-06 6:21
Slayer2-Oct-06 6:21 
QuestionA Permuation Question Pin
Mushtaque Nizamani19-Sep-06 1:39
Mushtaque Nizamani19-Sep-06 1:39 
AnswerRe: A Permuation Question Pin
Rob Graham19-Sep-06 2:40
Rob Graham19-Sep-06 2:40 

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.