Going random and being blessed by luck
Solving a search problem using brute-force techniques (described in “Avoiding
brute-force techniques,” earlier in this chapter) is possible. The advantage of this
approach is that you don’t need any domain-specific knowledge to use one of
these algorithms. A brute-force algorithm tends to use the simplest possible
approach to solving the problem. The disadvantage is that a brute-force approach
works well only for a small number of nodes. Here are some of the common brute-
force search algorithms:
Do'stlaringiz bilan baham: |