Can PIP and PCP be considered as Greedy Algorithms?

Can PIP and PCP be considered as Greedy Algorithms?


In PIP, whenever a request for a resource is made, the resource will be allocated to the requesting task if it is free. However, in PCP a resource may not be granted to a requesting task even if the resource is free. This strategy in PCP helps in avoiding potential deadlocks.