Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed I randomization #27

Merged
merged 3 commits into from Feb 13, 2020
Merged

Fixed I randomization #27

merged 3 commits into from Feb 13, 2020

Conversation

etiganou
Copy link
Collaborator

Fixed the non-random I1, I2. I dont know how this problem came up we solved this a long time ago...
This most probably fixes the repeating hashes

@etiganou
Copy link
Collaborator Author

This resolves #28 #26 #7

@drazioti
Copy link
Owner

I think that the problem did not solved. Executing
./a.out 10 5 4 2 1 --ham 12 -b 20 -f 1
I always get in the 7th round the solution.

@etiganou
Copy link
Collaborator Author

OK I forgot to change smthing... now is working properly

@drazioti
Copy link
Owner

OK I forgot to change smthing... now is working properly

Are you sure that is working properly, because I got exactly the same result.

@etiganou
Copy link
Collaborator Author

yes I_set changes in every round i checked it

@drazioti
Copy link
Owner

yes I_set changes in every round i checked it

Why I found every time in the same round the solution? I do not expect this, if I_1,I_2 are different in every round and every execution of the program

@etiganou
Copy link
Collaborator Author

Thats not happening to me

@drazioti
Copy link
Owner

yes, I forgot to recompile!

@drazioti
Copy link
Owner

I suppose this solves the problem with the repeating hash values

@drazioti drazioti merged commit a401ba4 into drazioti:master Feb 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants