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

Consider a permuation as an array of real numbers. #26

Closed
kyuridenamida opened this issue Sep 24, 2017 · 1 comment
Closed

Consider a permuation as an array of real numbers. #26

kyuridenamida opened this issue Sep 24, 2017 · 1 comment

Comments

@kyuridenamida
Copy link
Owner

This came from @hiro116s.
He said we can consider numbers as real numbers, not as a permutation.
That's because only their big-small relationship is important.

We can rephrase some controls with this idea, though that's not true they are totally equivalent.

  • Swap two numbers -> Assign random numbers to one number.
  • Output permutation -> Output after creating permutation where the i-th highest (0-based) number is changed to number i.
@kyuridenamida kyuridenamida changed the title Consider numbers as real numbers. Consider permuations as real numbers. Sep 24, 2017
@kyuridenamida kyuridenamida changed the title Consider permuations as real numbers. Consider a permuation as a array of real numbers. Sep 24, 2017
@kyuridenamida kyuridenamida changed the title Consider a permuation as a array of real numbers. Consider a permuation as an array of real numbers. Sep 24, 2017
@kyuridenamida
Copy link
Owner Author

This was referenced Sep 26, 2017
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

No branches or pull requests

1 participant