Bankers Algorithm in Java

Cerrado Publicado May 6, 2002 Pagado a la entrega
Cerrado Pagado a la entrega

An implementation of the Banker's Algorithm for a single "currency" or resource type has been given. A banker has a capital expressed in florins. He accepts any number of borrowers, each of whom has a loan, which may be decreased or increased in units of a florin up to a maximum pre-stated need. Each borrower guarantees that he will eventually return his complete loan. Starting from a safe state, i.e. one where all borrowers can complete their transactions, the banker must decide, when borrower b asks for a florin, whether b will be able to complete his transactions. If so, the situation is safe. Write a Java method to handle multiple currencies: boolean safe(int b, int c) where b  0..B-1 denotes the borrower and c  0..C-1 denotes the currency.

## Deliverables

Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. Complete copyrights to all work purchased.

## Platform

Coded using JPad

## Deadline information

Need to have the code within about an hour!

Ingeniería Java MySQL PHP Arquitectura de software Verificación de software

Nº del proyecto: #2850173

Sobre el proyecto

2 propuestas Proyecto remoto Activo May 14, 2002

2 freelancers están ofertando un promedio de $51 por este trabajo

habidoo

See private message.

$17 USD en 14 días
(2 comentarios)
1.1
costinvw

See private message.

$85 USD en 14 días
(0 comentarios)
0.0