This repository has been archived by the owner on Sep 6, 2024. It is now read-only.
[ASSIGNMENT] Percolation #3
Labels
enhancement
New feature or request
programming assignment
Programming assignment from Algorithms course
Milestone
Percolation
Write a program to estimate the value of the percolation threshold via Monte Carlo simulation.
Percolation data type
To model a percolation system, create a
Percolation
data type.Percolation stats
To perform a series of computational experiments, create a
PercolationStats
data type.Bonus
At the moment, the backwash problem in Percolation is solved using two union-find objects, but it is also possible to solve this problem through one union-find object. To do this, you can change the grid array type to int and thus store not only the open/closed state of the cell, but also about its connection with the lower or upper virtual cell.
The text was updated successfully, but these errors were encountered: