Find Jobs
Hire Freelancers

Bankers Algorithm in Java

$30-5000 USD

Cerrado
Publicado hace casi 22 años

$30-5000 USD

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!
ID del proyecto: 2850173

Información sobre el proyecto

2 propuestas
Proyecto remoto
Activo hace 22 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
2 freelancers están ofertando un promedio de $51 USD por este trabajo
Avatar del usuario
See private message.
$17 USD en 14 días
5,0 (2 comentarios)
1,1
1,1
Avatar del usuario
See private message.
$85 USD en 14 días
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de UNITED KINGDOM
United Kingdom
0,0
0
Miembro desde abr 3, 2002

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.