-
May 4th, 2011, 07:49 AM
#1
Algorithm for dynamic resource allocation
Hi all,
I am working on dynamic resource allocation problem. I have set of
Consumer and resource. Consumers are with priority (High, Medium,
Low). Now I want to assign resource slice to each consumer based on
priority and no of consumers.
ie
Priority | No of Consumers
---------------------------------------
High | 8
Medium | 5
Low | 2
OR
Priority | No of Consumers
---------------------------------------
High | 1
Medium | 2
Low | 10
My assumption is resource is 100 % and how can I assign slice of
resource to each Consumer based on priority.
Can any body give me idea which algorithm I should use.....
-
May 7th, 2011, 10:50 AM
#2
Re: Algorithm for dynamic resource allocation
Get Microsoft Visual C++ Express here or CodeBlocks here.
Get STLFilt here to radically improve error messages when using the STL.
Get these two can't live without C++ libraries, BOOST here and Loki here.
Check your code with the Comeau Compiler and FlexeLint for standards compliance and some subtle errors.
Always use [code] code tags [/code] to make code legible and preserve indentation.
Do not ask for help writing destructive software such as viruses, gamehacks, keyloggers and the suchlike.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|