Home : Technical Terms : Metaheuristic Definition

Metaheuristic

A heuristic is a set of rules for solving problems or making decisions. In computer science, heuristics are the foundation of algorithms. Metaheuristics are larger principles or guidelines that establish the heuristics used to create algorithms.

Both heuristics and metaheuristics apply to computer programming. A heuristic applies to a specific problem, while a metaheuristic is a general guideline that is problem-independent. Developers use metaheuristics to produce consistent programming practices, while they develop heuristics for specific solutions.

For example, a software development team may build a search engine using both metaheuristics and heuristics. Below are examples of each:

Search Metaheuristics

The following metaheuristics apply to all search engines:

  1. create an index of searchable data to improve search efficiency
  2. use a "fuzzy search" to search for terms similar to keywords entered by the user, instead of only exact matches
  3. order results by most relevant to least relevant

Search Heuristics

The following heuristics may apply to a specific type of search engine:

  1. produce search results that are most relevant to the user's location
  2. customize search results based on information stored in the user's account
  3. use search history to provide a list of autocomplete search phrases

The first list above provides general guidelines for an effective search engine. The second list provides specific features a search engine should have. In some cases, heuristics and metaheuristics may overlap in their scope. The best way to distinguish between the two is to determine if it is a general rule (metaheuristic) or if it applies to a specific problem/solution (heuristic).

Updated: December 5, 2020

Cite this definition:

https://techterms.com/definition/metaheuristic

TechTerms - The Tech Terms Computer Dictionary

This page contains a technical definition of Metaheuristic. It explains in computing terminology what Metaheuristic means and is one of many technical terms in the TechTerms dictionary.

All definitions on the TechTerms website are written to be technically accurate but also easy to understand. If you find this Metaheuristic definition to be helpful, you can reference it using the citation links above. If you think a term should be updated or added to the TechTerms dictionary, please email TechTerms!

Subscribe to the TechTerms Newsletter to get featured terms and quizzes right in your inbox. You can choose to receive either a daily or weekly email.

Sign up for the free TechTerms Newsletter

How often would you like to receive an email?

You can unsubscribe at any time.
Questions? Please contact us.