Find Jobs
Hire Freelancers

I need Ruby on Rails expert -- 2

$30-250 USD

Peruutettu
Julkaistu yli 3 vuotta sitten

$30-250 USD

Maksettu toimituksen yhteydessä
Ruby elevator simulator program Implement Strategy 1 as part of your project. Where sim is a Simulation object, we run a simulation like this: [login to view URL](filename_string, strategy_symbol) The symbol :strategy1 identifies this strategy. Design and implement your own strategy, Strategy 2, that takes advantage of the information supplied by the notification methods. The symbol :strategy2 identifies this strategy. Write a method [login to view URL](nbr_runs, filename_prefix, strategy) that runs your program nbr_runs many times on the input files named by filename_prefix with suffixes [login to view URL], [login to view URL], ..., and returns the average efficiency. For example: [login to view URL](15, 'myelev', :strategy2) runs your Strategy 2 on the files [login to view URL], ..., [login to view URL] and returns the average of the 15 efficiency values. I will give you a set of input files to test your program on, and you should report the average efficiency you obtain on these files for both strategies. You can also use these input files to compare your strategy to other strategies, with respect to efficiency. I’ll also give you a short Ruby program to generate your own test files. Compare efficiency for Strategy 1 and Strategy 2 (and any other strategies you might choose to devise) with respect to average wait and trip time. Use a set of input files with these characteristics: number of floors: 8 number of time steps: 120 average arrival rate: 0.5 passengers per time step (i.e., 1 passenger every 2 time steps) percentage of trips that start or end at floor 1: 90% For example, you might use this to generate 10 test files: GenPeopleFiles.gen_input_files('myInput', 10, 8, 0.5, 120, 0.9) Submit your Ruby code for this project in a zip archive by the due date.
Projektin tunnus (ID): 28417891

Tietoa projektista

2 ehdotukset
Etäprojekti
Aktiivinen 3 vuotta sitten

Haluatko ansaita rahaa?

Freelancerin tarjouskilpailun edut

Aseta budjettisi ja aikataulu
Saa maksu työstäsi
Kuvaile ehdotustasi
Rekisteröinti ja töihin tarjoaminen on ilmaista
2 freelancerit tarjoavat keskimäärin $250 USD tätä projektia
Käyttäjän avatar
Hello, How are you today? Thank you for posting this project, and I'm very happy to bid your project. I've read carefully your project details. I have rich experiences related with your project. I can be a good candidate for your project. If you give me a chance to work with you, then I will do my best to reach your requirements. I'm waiting for your kind response. Please send msgs over chat. Let's go. I will do my best for you. Best Regards.
$250 USD 7 päivässä
4,1 (3 arvostelua)
1,8
1,8

Tietoja asiakkaasta

Maan SINGAPORE lippu
Singapore, Singapore
5,0
3
Maksutapa vahvistettu
Liittynyt jouluk. 3, 2020

Asiakkaan vahvistus

Kiitos! Olemme lähettäneet sinulle sähköpostitse linkin, jolla voit lunastaa ilmaisen krediittisi.
Jotain meni pieleen lähetettäessä sähköpostiasi. Yritä uudelleen.
Rekisteröitynyttä käyttäjää Ilmoitettua työtä yhteensä
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Ladataan esikatselua
Lupa myönnetty Geolocation.
Kirjautumisistuntosi on vanhentunut ja sinut on kirjattu ulos. Kirjaudu uudelleen sisään.