Skip to content

This project uses Monte Carlo Simulation to estimate the Percolation Threshold of a certain number of n-by-n grid of sites

License

Notifications You must be signed in to change notification settings

GSilvaO/percolation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

The Percolation.java file implements the programming assignment of the first week of Princeton's Algorithim course. The main goal of this application is to simulate a property of materials know as Percolation. If we have, for exemple, a randomly distributed insulating and metallic material, what fraction of this material needs to be metallic so that the composite system is an electrial conductor? The specification of this assigment can be viewed at this link.

How to run this project

To run these programs you need to have Java installed and configured (version >= 5.0) as well as algs4.jar added to the classpath.

Obs.

1 -The use of this code (or any modification of it) to solve the same assignment results in a direct infringement of cousera's Honor Code.

2 - The assessment score was 91/100. The main issues remaining to solve for this algorithm are some corner cases and the backwash problem.

About

This project uses Monte Carlo Simulation to estimate the Percolation Threshold of a certain number of n-by-n grid of sites

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages