Hello,
I am supposed to learn for school the "Greedy" programming algorithm, it's just that i don't understand nothing from my school informatics manual.
Can anyone tell me how it works? With examples please?
Thank you very much.
Greedy Method
Started by Davide, Jan 31 2010 01:52 AM
5 replies to this topic
#1
Posted 31 January 2010 - 01:52 AM
Are you a newbie programmer trying to learn C#? Check out my small tutorial: Visual C# Programming Basics
|
|
|
#2
Posted 31 January 2010 - 06:51 AM
#3
Posted 31 January 2010 - 07:51 AM
dcs said:
When you do that, at least look at the results to see if their good for something before copy/pasting the url.
Are you a newbie programmer trying to learn C#? Check out my small tutorial: Visual C# Programming Basics
#4
Posted 31 January 2010 - 08:02 AM
Davide said:
When you do that, at least look at the results to see if their good for something before copy/pasting the url.
If you need help with something specific, I can't read your mind so you might want to mention something specific.
[edit]Let's see...
Davide said:
i don't understand nothing from my school informatics manual.
Davide said:
Can anyone tell me how it works?
Davide said:
With examples please?
We've got descriptions, examples, and explanations all related to the greedy algorithm. If that's not what you are looking for, I have no idea what your question is asking.
#5
Posted 31 January 2010 - 01:29 PM
The greedy algorithm simply uses a measure (dependent on the problem at hand) to measure how much progress will be made by each possible option, and selects the one that will make the biggest gain at this step. It has known limitations, and is not guaranteed to provide an optimal solution.
Anything more specific requires a context for the problem being solved by the greedy algorithm. Of course, dcs's search results already said all that.
Anything more specific requires a context for the problem being solved by the greedy algorithm. Of course, dcs's search results already said all that.
#6
Posted 31 January 2010 - 02:04 PM
WingedPanther said:
The greedy algorithm simply uses a measure (dependent on the problem at hand) to measure how much progress will be made by each possible option, and selects the one that will make the biggest gain at this step. It has known limitations, and is not guaranteed to provide an optimal solution.
Anything more specific requires a context for the problem being solved by the greedy algorithm. Of course, dcs's search results already said all that.
Anything more specific requires a context for the problem being solved by the greedy algorithm. Of course, dcs's search results already said all that.
Thank you, that answered my question. Wikipedia sucks sometimes.
Are you a newbie programmer trying to learn C#? Check out my small tutorial: Visual C# Programming Basics


Sign In
Create Account


Back to top









