jkomyno / algorithms-hw3 Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Dataset di input da usare:
In KargerMinCut, the average complete execution of the algorithm takes 146 seconds (2.5 minutes), but the longest execution takes 918 seconds (15 minutes).
The longest discovery time, however, takes 45 seconds.
We can thus set a maximum execution time to 120 seconds.
We can re-use the same timeout class used for homework 2.
In MinCutKarger, we have the following statistics:
input_random_38_200.txt
;full_contraction
execution takes 9 milliseconds, corresponding to the graph input_random_40_200.txt
;discovery_time / program_time
ratio is 0,142401742 when no timeout is used;discovery_time / program_time
ratio is 0,897164825 when no timeout is used, corresponding to the graph input_random_1_6.txt
.discovery_time / program_time
ratio is 0.833009709 when no timeout is used, corresponding to the graph input_random_4_6.txt
The iteration where we first discover min-cut in Karger's algorithm should be returned and printed. The CSV generator scripts should be updated to create a new column k_min_cut
.
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.