Find Jobs
Hire Freelancers

Generate Unique Random Binary Numbers with defined Hamming Distance

$30-250 USD

Suoritettu
Julkaistu lähes 8 vuotta sitten

$30-250 USD

Maksettu toimituksen yhteydessä
I’m looking for code that generates N random 24-bit binary numbers that are all unique and that each has a Hamming Distance of greater than Y from every other number in the generated set. The output should be a CSV file that contains the binary numbers as a text string in one column with their decimal equivalent in a second column (an example is provided). Code should delivered that can be compilable to run on a Windows PC and on a typical Apache Linux server. A Windows GUI should be provided in which a user can provide N and Y and a folder in which the output CSV should be recorded. The successful bidder should explain their approach to generating random numbers; their understanding of the constraint of the Hamming Distance; and their approach to providing code that can run on Windows and a Linux server.
Projektin tunnus (ID): 10657603

Tietoa projektista

8 ehdotukset
Etäprojekti
Aktiivinen 8 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
Myönnetty käyttäjälle:
Käyttäjän avatar
Hello, i'm placing this bid just to share my thoughts and my algorithm results. The biggest performance drop is caused by randomizing new number that fits the criteria (Hamming distance greater than Y, compared with elements in array). For Y that is higher than 1/4 of bits count, my algorithm becomes very slow. I.e. generating N=500 Y=5 took less than a second but Y=7 takes few minutes. My another approach involved prearranged array. Array was filled with N elements, that meet criteria, but the starting point was 1, 2, 3, 4... This reduced N=500, Y=7 time to 10 seconds but the output array become pseudo random (limited range of 1..highest N value, instead of full 24-bit range). Then i moved back to first version but split the task to multiple workers. It slightly increased the performance but it is still not really acceptable, especially if you need it to work with Y set to high (like 10 or 15). A correct solution would make use of evolutionary algorithms, but that's beyond of my "regular programmer" scope ;-) Good luck with the project!
$105 USD 3 päivässä
5,0 (29 arvostelua)
5,7
5,7
8 freelancerit tarjoavat keskimäärin $209 USD tätä projektia
Käyttäjän avatar
i can do this task for you. i can do this task for you. i can do this task for you. i can do this task for you.
$222 USD 2 päivässä
4,7 (136 arvostelua)
6,5
6,5
Käyttäjän avatar
I'm programmer and mathematical. I can do your program in Free Pascal, this lenguaje allow to compile the same code for Windows and Linux. Free Pascal have a function to generate random number and I use this function frequently in my programs so I have experience in this kind of work. The Hamming Distance between two strings of equal length is the number of positions at which the corresponding symbols are different. In the following example the Hamming Distance between the two binary numbers is 8. 011111000110101011100101 011000100111110011101101 My idea about the program is the following: The program should allow two inputs: - Amount of random number of 24-bit binary (N) - The Hamming Distance (Y) When these values are introduced, a button can be pressed to begin the generation until to obtain all random numbers (N). During the generation, the program should compare the last number with every other number of the generated set, if this comply the Hamming Distance (Y) with all, then is incorporated at the generated set. When the generated set is completed (N numbers) the program should save a CSV file with these numbers and the format of your example. The program should allow to select the folder where this file will be saved. Regards, Mel
$150 USD 3 päivässä
4,9 (43 arvostelua)
5,6
5,6
Käyttäjän avatar
Dear Sir, I am TOP RANKED programmer with 10 years of experience. Please award me this projecr.
$111 USD 2 päivässä
4,7 (18 arvostelua)
5,5
5,5
Käyttäjän avatar
Hi I would like to work with you on this project. I can program in C#.NET which requires MONO on UNIX. I can provide tested code on Visual Studio 2015 on Windows only. I can't test on UNIX. Regards, EK
$83 USD 5 päivässä
5,0 (25 arvostelua)
3,6
3,6
Käyttäjän avatar
Hi I have a BS degree in CS and I have studied hamming distance and algorithms. I can create a PHP script that will work on it's own to generate the numbers, and also a separate Windows Desktop Application using Visual C#. I have excellent experience of creating custom scripts and programs. Please have a look at feedback on related projects on my profile. Looking forward to seeing your reply. Thanks. Regards Ahsan
$175 USD 5 päivässä
0,0 (0 arvostelua)
0,0
0,0

Tietoja asiakkaasta

Maan UNITED KINGDOM lippu
London, United Kingdom
5,0
38
Maksutapa vahvistettu
Liittynyt elok. 17, 2007

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.