-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
big revive + partially translated paper
- Loading branch information
1 parent
2814136
commit 8cf3b81
Showing
28 changed files
with
411 additions
and
170 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
*iso filter=lfs diff=lfs merge=lfs -text | ||
*pth filter=lfs diff=lfs merge=lfs -text |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
__pycache__/ | ||
.ruff_cache/ | ||
|
||
Paper/*.aux | ||
Paper/*.log | ||
Paper/*.bbl | ||
Paper/*.blg | ||
Paper/*.pdf | ||
|
||
q.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
3.11 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,7 @@ | ||
"""Generator used to make map pairs""" | ||
import random | ||
import numpy as np | ||
import matplotlib.pyplot as plt | ||
from Terrain.map import Map | ||
import asyncio | ||
class Generator(): | ||
|
||
class Generator: | ||
def __init__(self, width, height, octaves=1): | ||
self.width = width | ||
self.height = height | ||
self.octaves = octaves | ||
|
||
def generate_solveable_pair(self ): | ||
"""Generates a map pair that is solveable""" | ||
real = Map.solveable_map(self.width, self.height, self.octaves) | ||
predicted = real + Map.built(self.width, self.height, self.octaves) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.