Click here to Skip to main content
15,891,976 members
Home / Discussions / Algorithms
   

Algorithms

 
GeneralRe: Finding points with maximial separation Pin
Luc Pattyn14-Jan-09 8:59
sitebuilderLuc Pattyn14-Jan-09 8:59 
AnswerRe: Finding points with maximial separation Pin
User 98852-Feb-09 3:22
User 98852-Feb-09 3:22 
QuestionDX-Ball game in java Language Pin
1uye8-Jan-09 5:38
1uye8-Jan-09 5:38 
AnswerRe: DX-Ball game in java Language Pin
EliottA8-Jan-09 6:38
EliottA8-Jan-09 6:38 
AnswerRe: DX-Ball game in java Language Pin
HosamAly8-Jan-09 19:58
HosamAly8-Jan-09 19:58 
QuestionOPT Replacement Policy [modified] Pin
Mustafa Ismail Mustafa4-Jan-09 22:46
Mustafa Ismail Mustafa4-Jan-09 22:46 
AnswerRe: OPT Replacement Policy Pin
Alan Balkany5-Jan-09 3:59
Alan Balkany5-Jan-09 3:59 
GeneralRe: OPT Replacement Policy Pin
Mustafa Ismail Mustafa5-Jan-09 8:23
Mustafa Ismail Mustafa5-Jan-09 8:23 
This is the best description I can find[^]

Basically, the metric is the farthest memory location (or page if we're dealing with pages) is the one that gets victimized and evicted because other "nearer" locations will not cause a cache miss if they already exist.

I know exactly how the algorithm is supposed to go, I'm just having a problem translating that into code.

Don't forget to vote if the response was helpful


Sig history

"dad" Ishmail-Samuel Mustafa

"There is no wealth like knowledge, no poverty like ignorance" Ali Ibn Abi Talib

Mustafa Ismail Mustafa wrote:
Keep it up.
Fool.

I now think of you as Mr. T! - Trollslayer

GeneralRe: OPT Replacement Policy Pin
Alan Balkany6-Jan-09 4:03
Alan Balkany6-Jan-09 4:03 
GeneralRe: OPT Replacement Policy Pin
Mustafa Ismail Mustafa6-Jan-09 4:18
Mustafa Ismail Mustafa6-Jan-09 4:18 
AnswerRe: OPT Replacement Policy Pin
Pete O'Hanlon5-Jan-09 5:01
mvePete O'Hanlon5-Jan-09 5:01 
GeneralRe: OPT Replacement Policy Pin
Mustafa Ismail Mustafa5-Jan-09 8:45
Mustafa Ismail Mustafa5-Jan-09 8:45 
Questionshortest paths from s to every vertex of G Pin
nicoletsgr3-Jan-09 10:13
nicoletsgr3-Jan-09 10:13 
AnswerRe: shortest paths from s to every vertex of G Pin
Tony Pottier3-Jan-09 13:27
Tony Pottier3-Jan-09 13:27 
GeneralRe: shortest paths from s to every vertex of G Pin
Tony Pottier3-Jan-09 13:32
Tony Pottier3-Jan-09 13:32 
AnswerRe: shortest paths from s to every vertex of G Pin
valiantljk6-Jan-09 5:07
valiantljk6-Jan-09 5:07 
AnswerRe: shortest paths from s to every vertex of G Pin
Mustafa Ismail Mustafa6-Jan-09 6:10
Mustafa Ismail Mustafa6-Jan-09 6:10 
QuestionA matter of size - the size of the search space Pin
Mustafa Ismail Mustafa30-Dec-08 23:26
Mustafa Ismail Mustafa30-Dec-08 23:26 
AnswerRe: A matter of size - the size of the search space Pin
73Zeppelin31-Dec-08 1:59
73Zeppelin31-Dec-08 1:59 
GeneralRe: A matter of size - the size of the search space Pin
Mustafa Ismail Mustafa31-Dec-08 2:42
Mustafa Ismail Mustafa31-Dec-08 2:42 
GeneralRe: A matter of size - the size of the search space Pin
73Zeppelin31-Dec-08 3:01
73Zeppelin31-Dec-08 3:01 
Questionmpeg decoding Pin
plewand29-Dec-08 0:31
plewand29-Dec-08 0:31 
AnswerRe: mpeg decoding Pin
bulg29-Jan-09 12:15
bulg29-Jan-09 12:15 
QuestionThis is all about Decision Support System... Pin
surfJul26-Dec-08 5:15
surfJul26-Dec-08 5:15 
AnswerRe: This is all about Decision Support System... Pin
73Zeppelin28-Dec-08 5:24
73Zeppelin28-Dec-08 5:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.