Skip to content

Commit

Permalink
Complete docs for 'segments_cross_or_overlap' function
Browse files Browse the repository at this point in the history
  • Loading branch information
lycantropos committed Apr 4, 2021
1 parent 507a02f commit 56931ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bentley_ottmann/planar.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def segments_cross_or_overlap(segments: _Sequence[_Segment]) -> bool:
Based on Bentley-Ottmann algorithm.
Time complexity:
``O((len(segments) + len(intersections)) * log len(segments))``
``O(len(segments) * log len(segments))``
Memory complexity:
``O(len(segments))``
Reference:
Expand Down

0 comments on commit 56931ce

Please sign in to comment.