Computing Atlas

How Computing Was Built
Sign In
Text size
100%
Theme
Concept

Brute-Force Search

Technique

Brute-force search, also called exhaustive search or generate and test, is a very general problem-solving technique and algorithmic paradigm that consists of systematically checking all possible candidates for whether or not each candidate satisfies the problem statement. A brute-force algorithm that finds the divisors of a natural number n would enumerate all integers from 1 to n and check whether each of them divides n without remainder, and a brute-force approach to the eight queens puzzle would examine all possible arrangements of eight pieces on the 64-square chessboard and check for each whether any queen can attack another. It is simple to implement and will always find a solution if one exists, while the implementation cost is proportional to the number of candidate solutions. Algorithms recorded in this atlas are grouped here when their design technique is brute force.

Facts
Core Principle
Solve a problem inefficiently by trying every one of a wide range of possible solutions. 1
Connections

In Field

Technique Used By

Source Wikipedia: Factorization of polynomials
Sources
1. NIST DADS: brute force
Definition
Quote, Definition
An algorithm that inefficiently solves a problem, often by trying every one of a wide range of possible solutions.
View the Source
Wikipedia: Brute-force search
  • Wikipedia, lead section
    brute-force search or exhaustive search, also known as generate and test, is a very general problem-solving technique and algorithmic paradigm
  • In Group: Algorithm Design Strategies, Lead
    In computer science, brute-force search or exhaustive search, also known as generate and test, is a very general problem-solving technique and algorithmic paradigm that consists of systematically checking all possible candidates for whether or not each candidate satisfies the problem's statement.
View the Source
Wikipedia: Factorization of polynomials
Technique Used By: Factorization of Polynomials, Article body
Quote, Technique Used By: Factorization of Polynomials, Article body
So, an exhaustive search allows finding all factors of degree at most d.
View the Source
Comments (0)
No comments yet. Be the first to share a thought.
Reader Challenges (0)
No disputes yet. Spotted an error or a better source? Open the first one.