Snippets tagged #computationalgeometry

  • GrahamScan.fsx

    Function to perform the Graham scan algorithm which looks for the set of points forming the convex hull of the input points

    4 people like this

    Posted: 9 years ago by albertp007

  • Optimal Cloud Coloring & famous 4 color map

    Four colors will print a map so adjacent states have different color. F# has clear concise code. Map has a list of pairs sharing a border. Incremental improvements in the code can be less use of key word 'function'. Since syntax is not ambiguous can it be fixed in the compiler? so '=function |' changes to '=|' ? Welcome to improve. Harrop,Mathias,Jack,Art,HR,fwaris,Don Syme, sffs... Thanks! Musa.Jahanghir@Live.com AVCLive1.com

    5 people like this

    Posted: 6 years ago by Musa Jahanghir