wrhall / computational_geometry Goto Github PK
View Code? Open in Web Editor NEWVarious research programs
Various research programs
Write some code to use to benchmark (speed test) two identical functions.
Just a template file would be fine, but it could be improved to something beautiful and metaprogram-y.
Improve the speed of find_interval: current suggestion -- use a dynamic programming idea (bellman-ford idea) to save all possible sub intervals. Then a new interval (adding one more number) is just going to be the old interval with a new upper or lower bound (or the same upper and lower bound).
The max c_i occurs immediately before or after the min c_i.
False claims:
2. Claim: If c_i < c_{i+1}, then c_{i+1} > c_{i+2}
alt claim: Given c_n, opposite parity c_i will be on opposite sides of c_n (odds on one side, even on the other).
false
\5. Claim (unproven): If exactly 2 opt solutions, they are cradle complements.
False, can have opts where values are switched
Heuristic ideas:
\2. Heuristic idea: Branch on 3-7 next closest options in opposite direction (using Claim 2).
NP complete proof?
Intervals that are the unique optimal:
[-1, -9, 7, -18, 20, -20] <-- Cradle (aka perfect cradle)
[5, 3, 9, -1, 13, 2]
[0, 2, -4, 5, -7, 3] <-- Alternating (but not a cradle)
[4, 8, -6, 13, -7, 20, -20] <-- Cradle
Fact: The best interval does not necessarily contain the best subintervals.
ie: [9, 2, 13, -1] --> subinterval [2, -1, 13]
Add tests to the functions -- make sure the functions behave how we expect them to.
Invariant for God Probem:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.