can anyone give me a code to generate random names using breadth first search algorithm..
i was getting problem during implementation in BFS and one more thing i need a code in C# language.
See this example you can understand what i actually need to do.
A genetics professor Wants to name her new baby boy
Using only the letters D,N & A Search through possible strings (states)
3 operators: add D, N or A onto end of string
Initial state is an empty string
Goal test Look up state in a book of boys’ names, e.g. DAN
here is the image showing random name is generating using breadth first search.