12,559,073 members (39,903 online)

# Algorithms

 Re: Splitting up multiple readings... Jochen Arndt9-Oct-12 3:09 Jochen Arndt 9-Oct-12 3:09
 Re: Splitting up multiple readings... glennPattonWork9-Oct-12 4:34 glennPattonWork 9-Oct-12 4:34
 Re: Splitting up multiple readings... Jochen Arndt9-Oct-12 4:45 Jochen Arndt 9-Oct-12 4:45
 Re: Splitting up multiple readings... glennPattonWork9-Oct-12 5:15 glennPattonWork 9-Oct-12 5:15
 Re: Splitting up multiple readings... Jochen Arndt9-Oct-12 5:55 Jochen Arndt 9-Oct-12 5:55
 Re: Splitting up multiple readings... glennPattonWork9-Oct-12 4:45 glennPattonWork 9-Oct-12 4:45
 Re: Splitting up multiple readings... Eddy Vluggen22-Oct-12 6:24 Eddy Vluggen 22-Oct-12 6:24
 Puzzle 8 Solving with bfs mohammadkaab25-Sep-12 22:50 mohammadkaab 25-Sep-12 22:50
 hi guys . i ask my qustion very fast . i just need to help me . ty for any help. my qustion is that , i have made a bfs solver class that solve the puzzle 8 with bfs algorithm . what im doing its like this . 1 - node class >> contain some info 2- bfs solver class 2-1 : Qeue Neede . 2-2 : enqeue the first node (initial state) << its parent . 2-3 : check if its the Goal Or not (if its not go to next ) 2-4 : find the empty tile and see if you can exchange any tile with it . 2-5 : any change w'll make a child node . of that parent 2-6 : deqeue the parent node. 2-6 : check if the child node of the parent is in the qeue (if is not then enqeue the child node and put a parent label on it). jump to the (2-3) is that algorithm working well , i have test it and it really work fine , the problem its here that it dosnt work if i played too much with the tile and chaneged them around . it works fine in small problem like {1,2,3,5,4,6,0,7,8} or sth like this . and it gave me an error stackoverflow in big problems like {8,0,4,2,3,1,6,7,5} i dont know what should i do to prevent this error but i just know that my codes work fine . im writing my code with c#.net . using a node class and bfs solver class. i can put some parts of my code if you neede to see what im doing . i'll appriciate any help .modified 26-Sep-12 4:58am.
 Re: Puzzle 8 Solving with bfs Alan Balkany26-Sep-12 4:27 Alan Balkany 26-Sep-12 4:27
 Re: Puzzle 8 Solving with bfs mohammadkaab26-Sep-12 4:38 mohammadkaab 26-Sep-12 4:38
 Re: Puzzle 8 Solving with bfs Alan Balkany26-Sep-12 4:42 Alan Balkany 26-Sep-12 4:42
 Re: Puzzle 8 Solving with bfs mohammadkaab26-Sep-12 5:01 mohammadkaab 26-Sep-12 5:01
 Re: Puzzle 8 Solving with bfs Alan Balkany26-Sep-12 5:09 Alan Balkany 26-Sep-12 5:09
 Re: Puzzle 8 Solving with bfs mohammadkaab26-Sep-12 21:36 mohammadkaab 26-Sep-12 21:36
 Bit Interleaver Skippums24-Sep-12 16:07 Skippums 24-Sep-12 16:07
 Image processing fabio_antonio23-Sep-12 8:25 fabio_antonio 23-Sep-12 8:25
 Re: Image processing Alan Balkany24-Sep-12 4:46 Alan Balkany 24-Sep-12 4:46
 Checking the network en41115-Sep-12 7:24 en411 15-Sep-12 7:24
 linkRe: Checking the network YvesDaoust21-Sep-12 0:11 YvesDaoust 21-Sep-12 0:11
 an optimal elevator-use algorithm BillWoodruff13-Sep-12 3:38 BillWoodruff 13-Sep-12 3:38
 Re: an optimal elevator-use algorithm Alan Balkany13-Sep-12 4:41 Alan Balkany 13-Sep-12 4:41
 Re: an optimal elevator-use algorithm BillWoodruff19-Sep-12 4:35 BillWoodruff 19-Sep-12 4:35
 Please, poke holes in my cryptographic function... SixOfTheClock13-Sep-12 0:52 SixOfTheClock 13-Sep-12 0:52
 What kind of checksum can this be? GrooverFromHolland9-Sep-12 9:18 GrooverFromHolland 9-Sep-12 9:18
 Re: What kind of checksum can this be? Alan N9-Sep-12 11:55 Alan N 9-Sep-12 11:55
 Last Visit: 31-Dec-99 18:00     Last Update: 27-Oct-16 9:17 Refresh « Prev1...33343536373839404142 Next »

General    News    Suggestion    Question    Bug    Answer    Joke    Praise    Rant    Admin

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

Advertise | Privacy | Mobile
Web02 | 2.8.161026.1 | Last Updated 27 Oct 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid