Click here to Skip to main content
15,886,757 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to get remote registry uninstallstring date or key modified time? Pin
Eddy Vluggen26-Sep-12 23:56
professionalEddy Vluggen26-Sep-12 23:56 
GeneralRe: How to get remote registry uninstallstring date or key modified time? Pin
turbosupramk327-Sep-12 4:23
turbosupramk327-Sep-12 4:23 
Questiondaily, Weekly and monthely datagrid view Pin
waqas_ali7626-Sep-12 4:50
waqas_ali7626-Sep-12 4:50 
AnswerRe: daily, Weekly and monthely datagrid view Pin
Richard MacCutchan26-Sep-12 5:13
mveRichard MacCutchan26-Sep-12 5:13 
AnswerRe: daily, Weekly and monthely datagrid view Pin
Simon_Whale26-Sep-12 5:29
Simon_Whale26-Sep-12 5:29 
GeneralRe: daily, Weekly and monthely datagrid view Pin
waqas_ali7626-Sep-12 5:40
waqas_ali7626-Sep-12 5:40 
GeneralRe: daily, Weekly and monthely datagrid view Pin
Pete O'Hanlon26-Sep-12 5:45
mvePete O'Hanlon26-Sep-12 5:45 
QuestionPuzzle 8 Solving with bfs Pin
mohammadkaab26-Sep-12 4:03
mohammadkaab26-Sep-12 4:03 
hi guys . i have asked my qustion in algorithm section but no one have respond me . i'll appriciate 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 .
AnswerRe: Puzzle 8 Solving with bfs Pin
Ingo26-Sep-12 4:10
Ingo26-Sep-12 4:10 
GeneralRe: Puzzle 8 Solving with bfs Pin
mohammadkaab26-Sep-12 4:41
mohammadkaab26-Sep-12 4:41 
AnswerRe: Puzzle 8 Solving with bfs Pin
Ingo26-Sep-12 5:00
Ingo26-Sep-12 5:00 
AnswerRe: Puzzle 8 Solving with bfs - question etiquette. Pin
Pete O'Hanlon26-Sep-12 5:15
mvePete O'Hanlon26-Sep-12 5:15 
QuestionMonitor database changes of 3rd party SQL DB Pin
Adam_Dev26-Sep-12 1:50
Adam_Dev26-Sep-12 1:50 
AnswerRe: Monitor database changes of 3rd party SQL DB Pin
Ingo26-Sep-12 2:30
Ingo26-Sep-12 2:30 
GeneralRe: Monitor database changes of 3rd party SQL DB Pin
Adam_Dev26-Sep-12 22:14
Adam_Dev26-Sep-12 22:14 
AnswerRe: Monitor database changes of 3rd party SQL DB Pin
Ingo26-Sep-12 22:23
Ingo26-Sep-12 22:23 
AnswerRe: Monitor database changes of 3rd party SQL DB Pin
Pete O'Hanlon26-Sep-12 2:36
mvePete O'Hanlon26-Sep-12 2:36 
GeneralRe: Monitor database changes of 3rd party SQL DB Pin
Adam_Dev26-Sep-12 22:17
Adam_Dev26-Sep-12 22:17 
GeneralRe: Monitor database changes of 3rd party SQL DB Pin
Pete O'Hanlon26-Sep-12 22:28
mvePete O'Hanlon26-Sep-12 22:28 
AnswerRe: Monitor database changes of 3rd party SQL DB Pin
Shameel26-Sep-12 4:02
professionalShameel26-Sep-12 4:02 
QuestionTools for Setup Projects Pin
Bernhard Hiller25-Sep-12 23:37
Bernhard Hiller25-Sep-12 23:37 
AnswerRe: Tools for Setup Projects Pin
Abhinav S25-Sep-12 23:50
Abhinav S25-Sep-12 23:50 
AnswerRe: Tools for Setup Projects Pin
Smart Arab26-Sep-12 0:17
Smart Arab26-Sep-12 0:17 
GeneralRe: Tools for Setup Projects Pin
Pete O'Hanlon26-Sep-12 2:40
mvePete O'Hanlon26-Sep-12 2:40 
GeneralRe: Tools for Setup Projects Pin
Smart Arab26-Sep-12 3:04
Smart Arab26-Sep-12 3:04 

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.