Skip to content

ejyager00/lattice_paths

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lattice Paths

Code for computation regarding k-equivalent lattice paths in combinatorics.

The get_data.py file allows us to generate a table comparing the greedy algorithm to a brute force approach. To get the data in TSV form, run the following on the command line, where m and n are integers.

There are also optional arguments for file name and incremental saving of results.

# python3 get_data.py m n filename.tsv i

For example:

# python3 get_data.py 4 3
# python3 get_data.py 4 3 lattice4by3results.tsv i

About

Code for computation regarding k-equivalent lattice paths in combinatorics.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published