Click here to Skip to main content
11,720,547 members (72,406 online)

Algorithms

 
GeneralRe: Splitting up multiple readings... Pin
Pete O'Hanlon9-Oct-12 2:45
protectorPete O'Hanlon9-Oct-12 2:45 
GeneralRe: Splitting up multiple readings... Pin
Jochen Arndt9-Oct-12 3:09
memberJochen Arndt9-Oct-12 3:09 
GeneralRe: Splitting up multiple readings... Pin
glennPattonWork9-Oct-12 4:34
memberglennPattonWork9-Oct-12 4:34 
GeneralRe: Splitting up multiple readings... Pin
Jochen Arndt9-Oct-12 4:45
memberJochen Arndt9-Oct-12 4:45 
GeneralRe: Splitting up multiple readings... Pin
glennPattonWork9-Oct-12 5:15
memberglennPattonWork9-Oct-12 5:15 
GeneralRe: Splitting up multiple readings... Pin
Jochen Arndt9-Oct-12 5:55
memberJochen Arndt9-Oct-12 5:55 
GeneralRe: Splitting up multiple readings... Pin
glennPattonWork9-Oct-12 4:45
memberglennPattonWork9-Oct-12 4:45 
GeneralRe: Splitting up multiple readings... Pin
Eddy Vluggen22-Oct-12 6:24
memberEddy Vluggen22-Oct-12 6:24 
QuestionPuzzle 8 Solving with bfs Pin
mohammadkaab25-Sep-12 22:50
membermohammadkaab25-Sep-12 22:50 
AnswerRe: Puzzle 8 Solving with bfs Pin
Alan Balkany26-Sep-12 4:27
memberAlan Balkany26-Sep-12 4:27 
GeneralRe: Puzzle 8 Solving with bfs Pin
mohammadkaab26-Sep-12 4:38
membermohammadkaab26-Sep-12 4:38 
GeneralRe: Puzzle 8 Solving with bfs Pin
Alan Balkany26-Sep-12 4:42
memberAlan Balkany26-Sep-12 4:42 
GeneralRe: Puzzle 8 Solving with bfs Pin
mohammadkaab26-Sep-12 5:01
membermohammadkaab26-Sep-12 5:01 
GeneralRe: Puzzle 8 Solving with bfs Pin
Alan Balkany26-Sep-12 5:09
memberAlan Balkany26-Sep-12 5:09 
The function would generate the sequence of moves that would place 3 in the position 4 is in, while leaving 1 and 2 in their correct positions. This is because 3 is the next tile to be placed in its correct position.

I don't have source code, but it would be a good exercise for you to write it. Googling "9 puzzle solution" gets lots of hits, and one of them probably has some source code. Similar results can be obtained searching for "15 puzzle solution", which is another common form of this puzzle type.
"Microsoft -- Adding unnecessary complexity to your work since 1987!"

GeneralRe: Puzzle 8 Solving with bfs Pin
mohammadkaab26-Sep-12 21:36
membermohammadkaab26-Sep-12 21:36 
QuestionBit Interleaver Pin
Skippums24-Sep-12 16:07
memberSkippums24-Sep-12 16:07 
QuestionImage processing Pin
fabio_antonio23-Sep-12 8:25
memberfabio_antonio23-Sep-12 8:25 
AnswerRe: Image processing Pin
Alan Balkany24-Sep-12 4:46
memberAlan Balkany24-Sep-12 4:46 
QuestionChecking the network Pin
en41115-Sep-12 7:24
memberen41115-Sep-12 7:24 
AnswerlinkRe: Checking the network Pin
YvesDaoust21-Sep-12 0:11
memberYvesDaoust21-Sep-12 0:11 
Questionan optimal elevator-use algorithm Pin
BillWoodruff13-Sep-12 3:38
memberBillWoodruff13-Sep-12 3:38 
AnswerRe: an optimal elevator-use algorithm Pin
Alan Balkany13-Sep-12 4:41
memberAlan Balkany13-Sep-12 4:41 
GeneralRe: an optimal elevator-use algorithm Pin
BillWoodruff19-Sep-12 4:35
memberBillWoodruff19-Sep-12 4:35 
QuestionPlease, poke holes in my cryptographic function... Pin
SixOfTheClock13-Sep-12 0:52
memberSixOfTheClock13-Sep-12 0:52 
QuestionWhat kind of checksum can this be? Pin
GrooverFromHolland9-Sep-12 9:18
memberGrooverFromHolland9-Sep-12 9:18 
AnswerRe: What kind of checksum can this be? Pin
Alan N9-Sep-12 11:55
memberAlan N9-Sep-12 11:55 
GeneralRe: What kind of checksum can this be? Pin
GrooverFromHolland9-Sep-12 22:15
memberGrooverFromHolland9-Sep-12 22:15 
QuestionLinear Regression Most Efficient algorithm calc Line of Best Fit Pin
A*****4-Sep-12 19:24
memberA*****4-Sep-12 19:24 
AnswerRe: Linear Regression Most Efficient algorithm calc Line of Best Fit Pin
Peter_in_27804-Sep-12 20:17
memberPeter_in_27804-Sep-12 20:17 
QuestionRunning out of Memory - Maths Check Pin
Mike-MadBadger3-Sep-12 7:52
memberMike-MadBadger3-Sep-12 7:52 
AnswerRe: Running out of Memory - Maths Check Pin
Andrei Straut3-Sep-12 9:03
memberAndrei Straut3-Sep-12 9:03 
GeneralRe: Running out of Memory - Maths Check Pin
Mike-MadBadger3-Sep-12 10:11
memberMike-MadBadger3-Sep-12 10:11 
GeneralRe: Running out of Memory - Maths Check Pin
Andrei Straut3-Sep-12 10:56
memberAndrei Straut3-Sep-12 10:56 
GeneralRe: Running out of Memory - Maths Check Pin
Mike-MadBadger3-Sep-12 11:18
memberMike-MadBadger3-Sep-12 11:18 
GeneralRe: Running out of Memory - Maths Check Pin
harold aptroot3-Sep-12 21:54
memberharold aptroot3-Sep-12 21:54 
GeneralRe: Running out of Memory - Maths Check Pin
Mike-MadBadger4-Sep-12 0:26
memberMike-MadBadger4-Sep-12 0:26 
AnswerRe: News Page Pin
Mike-MadBadger3-Sep-12 21:12
memberMike-MadBadger3-Sep-12 21:12 
AnswerRe: Running out of Memory - Maths Check Pin
YvesDaoust3-Sep-12 23:21
memberYvesDaoust3-Sep-12 23:21 
GeneralRe: Running out of Memory - Maths Check Pin
Mike-MadBadger4-Sep-12 0:29
memberMike-MadBadger4-Sep-12 0:29 
AnswerRe: Running out of Memory - Maths Check Pin
Member 91314964-Sep-12 1:56
memberMember 91314964-Sep-12 1:56 
GeneralRe: Running out of Memory - Maths Check Pin
Mike-MadBadger4-Sep-12 9:29
memberMike-MadBadger4-Sep-12 9:29 
GeneralRe: Running out of Memory - Maths Check Pin
Member 91314965-Sep-12 2:00
memberMember 91314965-Sep-12 2:00 
SuggestionRe: Running out of Memory - Maths Check Pin
Jeremy David Thomson5-Sep-12 1:36
memberJeremy David Thomson5-Sep-12 1:36 
GeneralRe: Running out of Memory - Maths Check Pin
Mike-MadBadger5-Sep-12 5:54
memberMike-MadBadger5-Sep-12 5:54 
AnswerRe: Running out of Memory - Maths Check Pin
Member 31409626-Sep-12 20:36
memberMember 31409626-Sep-12 20:36 
GeneralRe: Running out of Memory - Maths Check Pin
Stefan_Lang7-Sep-12 4:29
memberStefan_Lang7-Sep-12 4:29 
AnswerRe: Running out of Memory - Maths Check Pin
Stefan_Lang7-Sep-12 4:49
memberStefan_Lang7-Sep-12 4:49 
GeneralRe: Running out of Memory - Maths Check Pin
Mike-MadBadger7-Sep-12 21:23
memberMike-MadBadger7-Sep-12 21:23 
GeneralRe: Running out of Memory - Maths Check Pin
Stefan_Lang10-Sep-12 0:53
memberStefan_Lang10-Sep-12 0:53 
GeneralRe: Running out of Memory - Maths Check Pin
Mike-MadBadger10-Sep-12 20:50
memberMike-MadBadger10-Sep-12 20:50 

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

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


Advertise | Privacy | Mobile
Web01 | 2.8.150901.1 | Last Updated 4 Sep 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid