0

I need to learn brute-force search because i think that it will help me to solve a problem on graphs.

Do you know any good tutorial for brute-force search?

4
Contributors
5
Replies
6
Views
8 Years
Discussion Span
Last Post by mimis
0

I tried googling before i posted it here but i didn't find any tutorial.
Someone may know any book as well.

0

There's probably not a tutorial because there's nothing to it. Brute force searching is the dumbest, easiest (and often most inefficient) way you can think of to get the correct answer. In the case of a graph, you'd probably end up doing a recursive traversal of all nodes.

Why don't you tell us what problem you're trying to solve instead of asking vague questions about the solution you think you need.

0

here's a brute force template

for (int i = 0; i < MAX_NUMBER; i++)
{
    if (Condition[i] == Desirable)
          DoFunction();
    else
          DoOtherFunction();
}
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.