greedy algorithm

Part of the TechTarget Network of Enterprise IT Web Sites

Search our IT-specific encyclopedia for:
 
Browse alphabetically:
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z #
All Categories Computing Fundamentals

greedy algorithm

A greedy algorithm is a mathematical process that recursively constructs a set of objects from the smallest possible constituent parts. Recursion is an approach to problem solving in which the solution to a particular problem depends on solutions to smaller instances of the same problem.

Greedy algorithms look for simple, easy-to-implement solutions to complex, multi-step problems by deciding which next step will provide the most obvious benefit. Such algorithms are called greedy because while the optimal solution to each smaller instance will provide an immediate output, the algorithm doesn’t consider the larger problem as a whole. Once a decision has been made, it is never reconsidered.

The advantage to using a greedy algorithm is that solutions to smaller instances of the problem can be straightforward and easy to understand. The disadvantage is that it is entirely possible that the most optimal short-term solutions may lead to the worst long-term outcome.

Greedy algorithms are often used in ad hoc mobile networking to efficiently route packets with the fewest number of hops and the shortest delay possible. They are also used in machine learning, business intelligence (BI), artificial intelligence (AI) and programming.

See also: spanning tree protocol, Nagle's algorithm, fast retransmit and recovery

 

Continue learning about greedy algorithm:

 Prof.Sunder Vishwanathan explains greedy algorithms in an easy-to-understand way.

Report: Using a greedy algorithm to create a firewall policy fault model with automatic correction. 

Download: Data Mining: Adopting a “greedy” search for rules in business intelligence.

Last updated on: Mar 03, 2011
Editorial Director: Margaret Rouse

>  Enterprise Software related Research & News
>  White Papers for the Retail Industry

Are you a Know-IT-All?
This is the certification of a product or specification to indicate that it meets regulatory standards.
a. homologation
b. collocation

word of the day Sign up for the Word of the Day
twitter Follow us on Twitter
Editorial director:


WORD OF THE DAY...
context-aware network access control
LEARN MORE ABOUT...
Windows 8
AccessChk
AccessEnum
Microsoft Windows Server 2008
Windows Server 2008 R2
icacls
mechanical refrigeration
mobile middleware
PCI DSS 2.0
PCI DSS User Group
Raspberry Pi ($35 computer)
HTML 5 client
persistent desktop
nonpersistent desktop
Microsoft System Center Virtual Machine Manager 2012
RemoteFX
Windows Thin PC
polyfill
computer room air handler (CRAH
arc flash
electric arc
WhatIs.com RSS Feeds
About Us   |   Contact Us   |   For Advertisers   |   For Business Partners   |   Reprints   |   RSS   |   Awards
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints




All Rights Reserved, Copyright 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts