Arthlol / bpswg

Automatically exported from code.google.com/p/bpswg
0 stars 0 forks source link

Add a Priority control parameter for tasks #51

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This a ControlParameter to be used with a task. The priority is an integer 
value, the higher the value the higher the priority. 

Background: 
Simulators can use this during resource allocation to allocate idle resources 
to waiting activities, the highest priority waiting activity gets satisfied 
first if its selection rule resolves to the available resource type.

Original issue reported on code.google.com by jhor...@lanner.co.uk on 10 Feb 2012 at 2:46

GoogleCodeExporter commented 9 years ago
So, if 2 tasks in the queue (competing on the same resource), the task with 
higher priority gets the resource first? I understand the concept, not sure how 
the model would support that...

By the way, the model has it under Priority, not under ControlParameter.
Related issue (#64), not sure they are the same (since under different classes).

Original comment by razvan.r...@wwhc.us on 23 Feb 2012 at 3:08

GoogleCodeExporter commented 9 years ago
Done in version 0.2

A new class PriorityParameters was introduced including a "priority" and 
"interruptible" attributes

Original comment by dga...@trisotech.com on 27 Feb 2012 at 7:52

GoogleCodeExporter commented 9 years ago

Original comment by sringue...@trisotech.com on 24 Oct 2012 at 6:47