Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Input: A= {a1, a2, . . . an} \
- set of Activities, R= {r1, r2…, rn} \
- Resource Set, S= {s1, s2, s3, … sn} \
- skill set of resources, P= {p1, p2, … p8} \
- MBTI Personality Traits
- Output: Resources are assigned on the basis of required Skills and Personality to the compatible activities.
- 1: while UAt≠ 0 do \UA is a set of unscheduled activities whose predecessor is finished at time “t”.
- 2: ∀ a*: min {Za ∈ UAt} \Activity with smallest processing time
- 3: Ta* ← t; \ Starting Time of Activity
- 4: da*← d; \Required Processing Time
- 4: for (s ∈ Sa*) do \Skill Required for Activity
- 5: for (p ∈ Pa*) do \ Personality Trait Required for Activity
- 6: ra ←0; \ Initial Assigned Resources
- 7: while (ra < ra*sp) do
- 8: for each r in R;
- 9: find rXs ∈ SrtS; \ identify resources”r” with scarce skills. Xs is a scarce skill
- 10: if (r*s >= s* & r*h >= h*) \ Optimal Resource based on S and P
- 11: a← r* ∈ SrtS; \ Assign resource from Sorted resources
- 12: else if r* ∈ rXs = ra*sp;
- 13: Set r* busy for da*; \ Set Resource busy for required duration
- 14: UA = UAt – a;
- 15: if (p > 0 && p<= 34) \Personality trait is > 0 and <=34 =Low
- 16: da* = d – 0% to 3%;
- 17: else if (p > 34 && p<= 67)
- 18: da* = d – 3% to 6%; \ Personality trait is > 34 and
- <=67 = Medium
- 19: else if (p > 67 && p<= 100)
- 20: da* = d – 6% to 9%; \Personality trait is > 67 and <=100 =High
- 21: endif
- 22: else (r*s >= s*) \ Resource checking based on S
- 23: a← r* ∈ SrtS;
- 24: Set r* busy for da*;
- 25: UA = UAt – a;
- 26: if (p > 0 && p<= 34)
- 27: da* = d + 0% to 3%;
- 28: else if (p > 34 && p<= 67)
- 29: da* = d + 3% to 6%;
- 30: else if (p > 67 && p<= 100)
- 31: da* = d + 6% to 9%;
- 32: endif
- 33: end for
- 34: ra = ra* + 1;
- 35: end while
- 36: end for
- 37: end for
Add Comment
Please, Sign In to add comment