osntrust's People
osntrust's Issues
Karger Cut edge not returned
There is some problem in the karger algorithm in the OnlinePlusOurAlgo. This needs to be taken care of.
Implement the second phase of the algorithm
We need to implement the second phase of the algorithm. (The Knapsack Algorithm
)
Implement amortization step
- parentEdgeWeigth () // Get edge-cut cost
- Sort nodes in descending order of cost
Implement Partition step
- Place nodes with highest cost to partitions which satisfy the balance criteria
- unPropagateWeight () // Update node weight value after deletion
isPresent condition is wrong
In CST_start.cpp
in updateCST (Edge e)
We should do if (present1 == -1)
so that we can say that node1
is not present in the CST.
Make the reading and writing from the CST_out.bin file faster
Currently the code is opening and closing the file in every function call. The run time can be drastically reduced if we open and close the file only once, and pass the fstream
object to all function.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.