• Nie Znaleziono Wyników

The Banker Problem

N/A
N/A
Protected

Academic year: 2021

Share "The Banker Problem"

Copied!
1
0
0

Pełen tekst

(1)

The Banker Problem

Design a place/transition Petri net that represents the Banker’s problem as defined above.

Distinguish the place BANK, holding the banker’s cash, initially contains g units of money (tokens).

Places CREDIT

i

and CLAIM

i

stand for the loan and the remaining claim of client i, respectively.

Through the transition GRANT

i

this client obtains one unit of money (token) as often as transition GRANT

i

fires.

Transition RETURN

i

returns all the money back to the

banker. RETURN

i

cannot fire unless the banker has fulfilled the

maximal claim f

i

of the client. By the same transition this claim is

restored in CLAIM

i

. You can use inscriptions on arcs, for instance

representing amount of money transferred.

Cytaty

Powiązane dokumenty

Skleja się teraz to, co było rozcięte, zamazuje się podziały, szuka się ciągłości; granice epok rozszerzają się, rosną obszary niczyje?. Można mieć nadzieję,

He does not need all the money at the beginning, but periodically he requests a unit of capital from the bank until his requirement id fulfilled.. Some time later

materialistyczne, chęć zarabiania pieniędzy – to kwestie, o których mówiono niechętnie i które zmieniały na gorsze atmosferę wywiadu. Czasem też drażniący dla uczestników

This thesis is divided into five main chapters which describe the overview for the SSL driver technology and choosing the suitable reliability prediction method, introducing the

The aim of studies was the research of herbal preparations with antagonistic activity on probiotic microorganisms occuring in human digestive tract.In studies were used

Mobile money services are becoming very important tool, especially in the developing countries, for people (usually low income households) that do not have a broad access to

A principal argument in fa- vour of local currencies is that when localities are dependent entirely on national currency as a medium of exchange to facilitate

● Types of investment objectives include long-term capital growth,.. stable income, high total