Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ejyager00/lattice_paths
Code for computation regarding k-equivalent lattice paths in combinatorics.
https://github.com/ejyager00/lattice_paths
combinatorics go python3
Last synced: about 2 months ago
JSON representation
Code for computation regarding k-equivalent lattice paths in combinatorics.
- Host: GitHub
- URL: https://github.com/ejyager00/lattice_paths
- Owner: ejyager00
- License: gpl-3.0
- Created: 2021-09-17T15:59:20.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-02-15T02:25:43.000Z (almost 3 years ago)
- Last Synced: 2024-08-03T23:28:47.348Z (5 months ago)
- Topics: combinatorics, go, python3
- Language: Python
- Homepage:
- Size: 73.2 KB
- Stars: 0
- Watchers: 1
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Citation: CITATION.cff
Awesome Lists containing this project
- awesome-golang-repositories - lattice_paths - equivalent lattice paths in combinatorics. (Repositories)
README
# Lattice Paths
Code for computation regarding k-equivalent lattice paths in combinatorics.
The [get_data.py](https://github.com/ejyager00/lattice_paths/blob/master/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
```