- 
                Notifications
    
You must be signed in to change notification settings  - Fork 95
 
Add Bentley-Ottman Algorithm #1168
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
          
     Closed
      
      
    
  
     Closed
                    Changes from 90 commits
      Commits
    
    
            Show all changes
          
          
            93 commits
          
        
        Select commit
          Hold shift + click to select a range
      
      c5a3b90
              
                add test segment. proper test later
              
              
                souma4 e004810
              
                Clean single commit for BentleyOttman algorithm. Essentially, it outp…
              
              
                souma4 491a130
              
                test for valid answer
              
              
                souma4 840c1a5
              
                moved sweepline algorithm to Intersections since it is dependent on i…
              
              
                souma4 6f018a3
              
                Update Doc for bentley ottman implementation to specify output
              
              
                souma4 eb0d56b
              
                update project.toml to include BinaryTrees dependency
              
              
                souma4 b869b6e
              
                major commit. Moved sweepline from intersections to utils along with …
              
              
                souma4 6be63f1
              
                new_type and new_geom didn't meet style, so fixed. Removed an unneede…
              
              
                souma4 ed09d87
              
                forgot to rename _intersection to _pushintersection
              
              
                souma4 2b83b1a
              
                small commits to improve compatibility and fix mixed up old names
              
              
                souma4 7484dc1
              
                small updates to License text, cases, variable and function names, cl…
              
              
                souma4 16791eb
              
                Merge branch 'JRC_add_BentleyOttman' of https://github.com/souma4/Mes…
              
              
                souma4 ec4c593
              
                Updated algorithm to be simpler, output is points and segment indices…
              
              
                souma4 e18eb99
              
                updated tests to reflect changed output type
              
              
                souma4 e27d9f1
              
                add compat for BinaryTrees
              
              
                souma4 56018d3
              
                fixed names of variables and helper functions. removed output  type f…
              
              
                souma4 442861b
              
                updated utils include path and refactored if else to new function for…
              
              
                souma4 0cc5d91
              
                Minor adjustments before review
              
              
                juliohm 1c03947
              
                More fixes
              
              
                juliohm 00e2151
              
                changed S = Tuple{P, P} to V and changed the empty vectors of S to ca…
              
              
                souma4 83093e4
              
                 the s iter variable was modified to segment using the same name, so …
              
              
                souma4 76d8be3
              
                Rename V -> S
              
              
                juliohm 1e36abe
              
                More refactoring
              
              
                juliohm d590d36
              
                Rename \scrT to \scrR to match paper notation, and avoid confusion wi…
              
              
                juliohm 93ce4a6
              
                Refactor _newevent to improve readability
              
              
                juliohm 9fdaf93
              
                More refactoring to improve readability
              
              
                juliohm 353cf70
              
                More refactoring to improve readability and performance
              
              
                juliohm d136b6e
              
                More refactoring to improve readability
              
              
                juliohm 602a579
              
                More refactoring
              
              
                juliohm 36e2497
              
                More refactoring
              
              
                juliohm f5ff53e
              
                More refactoring
              
              
                juliohm 0004c36
              
                realigned more with original algorithm and reduced recomputation
              
              
                souma4 dd88813
              
                More refactoring
              
              
                juliohm 2fb7e10
              
                More refactoring
              
              
                juliohm 8e618e0
              
                More refactoring
              
              
                juliohm 2850538
              
                More refactoring
              
              
                juliohm 7762044
              
                Add more tests
              
              
                juliohm 3f42e7d
              
                Merge branch 'JuliaGeometry:master' into JRC_add_BentleyOttman
              
              
                souma4 e288e23
              
                edited the processing of intersections to better reflect the original…
              
              
                souma4 5a21d3a
              
                More refactoring
              
              
                juliohm 165ddae
              
                Refactor tests
              
              
                juliohm 3ed853d
              
                Add more tests
              
              
                juliohm 859c846
              
                Improve tests
              
              
                juliohm 9732322
              
                Fix formatting
              
              
                juliohm 98f0786
              
                More refactoring
              
              
                juliohm 042e690
              
                Add test with infinite loop
              
              
                juliohm c9d933f
              
                Fix formatting
              
              
                juliohm 219add3
              
                update to stop infinite loops, but has major TODOs to handle floating…
              
              
                souma4 89a8d98
              
                reverting prior to dictionary implementation
              
              
                souma4 3078412
              
                Merge branch 'JuliaGeometry:master' into JRC_add_BentleyOttman
              
              
                souma4 fdb936b
              
                fully functioning not infinitely looping bentleyottman algorithm all …
              
              
                souma4 5ef6505
              
                cleaned up test outputs and fixed tests to be T agnostic
              
              
                souma4 33f2fba
              
                hopefully fixed failing test on Float32 values
              
              
                souma4 e933e9c
              
                I think it's a precision issue, but T wasn't being handled how I thou…
              
              
                souma4 5e972fc
              
                shuffled to reduce redundant computations, particularly specifying th…
              
              
                souma4 0ed8c5f
              
                Minor adjustments
              
              
                juliohm 0a18865
              
                removed commented out useless code
              
              
                souma4 e38d203
              
                Minor adjustments
              
              
                juliohm 893fafd
              
                Int is default type for integer literals
              
              
                souma4 a10680b
              
                Set digits by default using exponent of absolute tolerance
              
              
                juliohm 20178a3
              
                Decrease number of digits by one
              
              
                juliohm 01604f1
              
                updated script to be simpler. updated tests. THIS FAILS THE GRID TEST…
              
              
                souma4 8345d1e
              
                WIP, With what little time I've had and will have for a bit, here's a…
              
              
                souma4 562c778
              
                complete functional Bentley Ottman Algorithm and passing all local te…
              
              
                souma4 5557fbb
              
                fix roundcoords to be coordround
              
              
                souma4 5023a34
              
                Merge remote-tracking branch 'origin/master' into JRC_add_BentleyOttman
              
              
                souma4 701e8a9
              
                fixed maxsearch and minsearch to not be exhaustive. findintersections…
              
              
                souma4 5baeff2
              
                fixed incorrect removal of end and midpoints
              
              
                souma4 ee4d2b8
              
                fixed type insecurity
              
              
                souma4 fcdaa81
              
                _findintersection appears to no longer exhaustively search the tree. …
              
              
                souma4 f2bc9a2
              
                Minor adjustments
              
              
                juliohm 27a0b17
              
                removed unneeded search
              
              
                souma4 d87d91e
              
                updated to use intersect function
              
              
                souma4 399aaf4
              
                Major update to BO algorithm. I do not like the performance of handle…
              
              
                souma4 d6a9e61
              
                updated intersect method to get 3x speedup from improved type stabili…
              
              
                souma4 dee44a4
              
                reduced uneeded computations, there's still room to cut more but that…
              
              
                souma4 28815e5
              
                Merge branch 'master' into JRC_add_BentleyOttman
              
              
                souma4 4a57da8
              
                updated to use AdaptivePredicates (*NEW DEPENDENCY*) for more robust …
              
              
                souma4 e125b9b
              
                cleaned up comments, expanded detail on implementation quirks, built …
              
              
                souma4 00f8fa3
              
                simplified and corrected name for the initializing start and end poin…
              
              
                souma4 c25247d
              
                updated variable names to be more accurate/simple
              
              
                souma4 314980d
              
                removed AdaptivePredicates. Uneeded, didn't realize.
              
              
                souma4 74cdbc0
              
                Reorder imports
              
              
                juliohm f2f80af
              
                Merge branch 'master' into JRC_add_BentleyOttman
              
              
                juliohm 4728892
              
                Fix missing end in test/utils.jl
              
              
                juliohm 03072a4
              
                updated to only output intersection points because we are assuming th…
              
              
                souma4 6d95fc4
              
                Cleanup tests
              
              
                juliohm d50c1b9
              
                Cleanup implementation
              
              
                juliohm a351b2d
              
                updated code to align with style more. kept similar variable names th…
              
              
                souma4 b108214
              
                Cleanup tests further
              
              
                juliohm 82fbcec
              
                More cleanup
              
              
                juliohm 3ddb02f
              
                Fix formatting issue
              
              
                juliohm 88eab75
              
                update to interface for more clarity. Created EventPoint in order mor…
              
              
                souma4 File filter
Filter by extension
Conversations
          Failed to load comments.   
        
        
          
      Loading
        
  Jump to
        
          Jump to file
        
      
      
          Failed to load files.   
        
        
          
      Loading
        
  Diff view
Diff view
There are no files selected for viewing
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
      
      Oops, something went wrong.
        
    
  
      
      Oops, something went wrong.
        
    
  
  Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    
Uh oh!
There was an error while loading. Please reload this page.