Click here to Skip to main content
15,391,695 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
Memberturbosupramk327-Sep-12 4:23 
Questiondaily, Weekly and monthely datagrid view Pin
waqas_ali7626-Sep-12 4:50
Memberwaqas_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
professionalSimon_Whale26-Sep-12 5:29 
GeneralRe: daily, Weekly and monthely datagrid view Pin
waqas_ali7626-Sep-12 5:40
Memberwaqas_ali7626-Sep-12 5:40 
GeneralRe: daily, Weekly and monthely datagrid view Pin
Pete O'Hanlon26-Sep-12 5:45
mvaPete O'Hanlon26-Sep-12 5:45 
QuestionPuzzle 8 Solving with bfs Pin
mohammadkaab26-Sep-12 4:03
Membermohammadkaab26-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
MemberIngo26-Sep-12 4:10 
GeneralRe: Puzzle 8 Solving with bfs Pin
mohammadkaab26-Sep-12 4:41
Membermohammadkaab26-Sep-12 4:41 
AnswerRe: Puzzle 8 Solving with bfs Pin
Ingo26-Sep-12 5:00
MemberIngo26-Sep-12 5:00 
AnswerRe: Puzzle 8 Solving with bfs - question etiquette. Pin
Pete O'Hanlon26-Sep-12 5:15
mvaPete O'Hanlon26-Sep-12 5:15 
QuestionMonitor database changes of 3rd party SQL DB Pin
Adam_Dev26-Sep-12 1:50
MemberAdam_Dev26-Sep-12 1:50 
AnswerRe: Monitor database changes of 3rd party SQL DB Pin
Ingo26-Sep-12 2:30
MemberIngo26-Sep-12 2:30 
GeneralRe: Monitor database changes of 3rd party SQL DB Pin
Adam_Dev26-Sep-12 22:14
MemberAdam_Dev26-Sep-12 22:14 
AnswerRe: Monitor database changes of 3rd party SQL DB Pin
Ingo26-Sep-12 22:23
MemberIngo26-Sep-12 22:23 
AnswerRe: Monitor database changes of 3rd party SQL DB Pin
Pete O'Hanlon26-Sep-12 2:36
mvaPete O'Hanlon26-Sep-12 2:36 
GeneralRe: Monitor database changes of 3rd party SQL DB Pin
Adam_Dev26-Sep-12 22:17
MemberAdam_Dev26-Sep-12 22:17 
GeneralRe: Monitor database changes of 3rd party SQL DB Pin
Pete O'Hanlon26-Sep-12 22:28
mvaPete 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
MemberBernhard Hiller25-Sep-12 23:37 
AnswerRe: Tools for Setup Projects Pin
Abhinav S25-Sep-12 23:50
MemberAbhinav S25-Sep-12 23:50 
AnswerRe: Tools for Setup Projects Pin
Smart Arab26-Sep-12 0:17
MemberSmart Arab26-Sep-12 0:17 
GeneralRe: Tools for Setup Projects Pin
Pete O'Hanlon26-Sep-12 2:40
mvaPete O'Hanlon26-Sep-12 2:40 
GeneralRe: Tools for Setup Projects Pin
Smart Arab26-Sep-12 3:04
MemberSmart 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.