Skip to content

A bug in assign_crowding_distance.m #5

@ys38079456

Description

@ys38079456

In the nobj loop in line 66 to 83(also in 53 to 58)

sorted_front is reloaded every time, so 'sorted_front(2:end-1,end) = sorted_front(2:end-1,end) + cds' is invalid in each loop.

And 'crowding_distance' is only depend on the final obj

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions