Mathematical notation for assigning resources to processes

1 reply · 2K views · last reply
mousemouse
Messages
6
Reaction score
0
Hi,

I need to translate some conditions/statements into mathematical notation but my mind is drawing blank right now.

There are a set of processes p={1,2,...n} and a class of resources r={a,b,...x}.

1 set of resources must be assigned to each existing process (e.g. resource a is assigned for process 1, resource b is assigned to process 2 and so on.)

How do I translate this into mathematical notation?

thanks
mousemouse
 
You can make it a function A from p to r (or vice versa), defined as
A(1) = a
A(2) = b
...