Skip to content
This repository was archived by the owner on Sep 6, 2024. It is now read-only.
This repository was archived by the owner on Sep 6, 2024. It is now read-only.

[ASSIGNMENT] Percolation #3

@Nanodesy

Description

@Nanodesy

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.

  • Complete main task
  • Complete bonus task

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestprogramming assignmentProgramming assignment from Algorithms course

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions