Skip to content

Improve crowding distance calculation in NSGA-II. - #1279

Merged
copybara-service[bot] merged 1 commit into
mainfrom
test_805912683
Sep 12, 2025
Merged

copybara-service[bot] merged 1 commit into
mainfrom
test_805912683

Conversation

@copybara-service

Copy link
Copy Markdown

Improve crowding distance calculation in NSGA-II.

Add tie-breaking to the sorting key in _crowding_distance using provided extra_tiebreakers and a consistent random number. Change the crowding distance score for the lower boundary point from infinity to 0. Normalize the final crowding distance scores by the number of objectives. Add a test case to verify the behavior with duplicate points.

@copybara-service
copybara-service Bot force-pushed the test_805912683 branch 2 times, most recently from 3fea34b to 91ac69f Compare September 12, 2025 22:19
Add tie-breaking to the sorting key in `_crowding_distance` using provided `extra_tiebreakers` and a consistent random number. Change the crowding distance score for the lower boundary point from infinity to 0. Normalize the final crowding distance scores by the number of objectives. Add a test case to verify the behavior with duplicate points.

PiperOrigin-RevId: 806450151
@copybara-service
copybara-service Bot merged commit e681dd9 into main Sep 12, 2025
@copybara-service
copybara-service Bot deleted the test_805912683 branch September 12, 2025 22:34
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.

1 participant