cs251/Project1/README
2018-10-15 17:24:29 -04:00

39 lines
1.6 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Written by Max O'Cull
# This README also functions as a valid Shell script. Simply
# make this file executable: chmod +x README
# Then run it:
# ./README
# Running it will compile all the classes, and run the Stats tests from the
# PDF.
# To compile all the classes, use these commands:
javac ­classpath .:stdlib.jar WeightedQuickUnionUF.java
javac ­classpath .:stdlib.jar QuickUnionUF.java
javac ­classpath .:stdlib.jar Percolation.java
javac ­classpath .:stdlib.jar PercolationQuick.java
javac ­classpath .:stdlib.jar PercolationVisualizer.java
javac ­classpath .:stdlib.jar PercolationStats.java
javac ­classpath .:stdlib.jar VisualizeFrames.java
# To run them, use these commands:
# java ­classpath .:stdlib.jar Percolation < testCase.txt
# java ­classpath .:stdlib.jar PercolationVisualizer < testCase.txt
# java ­classpath .:stdlib.jar VisualizeFrames
# java ­classpath .:stdlib.jar PercolationStats 20 50 fast
java ­classpath .:stdlib.jar PercolationStats 500 30 fast
java ­classpath .:stdlib.jar PercolationStats 500 30 slow
java ­classpath .:stdlib.jar PercolationStats 250 30 fast
java ­classpath .:stdlib.jar PercolationStats 250 30 slow
java ­classpath .:stdlib.jar PercolationStats 100 30 fast
java ­classpath .:stdlib.jar PercolationStats 100 30 slow
java ­classpath .:stdlib.jar PercolationStats 50 30 fast
java ­classpath .:stdlib.jar PercolationStats 50 30 slow
java ­classpath .:stdlib.jar PercolationStats 25 30 fast
java ­classpath .:stdlib.jar PercolationStats 25 30 slow
java ­classpath .:stdlib.jar PercolationStats 10 30 fast
java ­classpath .:stdlib.jar PercolationStats 10 30 slow