fix indents from ipynb to py
This commit is contained in:
parent
15efd64c3e
commit
74d59ecc2e
4
main.py
Normal file → Executable file
4
main.py
Normal file → Executable file
@ -270,7 +270,7 @@ plt.show()
|
|||||||
# |%%--%%| <mgJWQ0bqG1|64kmoHYvCD>
|
# |%%--%%| <mgJWQ0bqG1|64kmoHYvCD>
|
||||||
|
|
||||||
# Connectivity measure
|
# Connectivity measure
|
||||||
def check_food_source_connectivity(food_sources, paths): #food_sources = nodes.is_nest, paths=result from BFS
|
def check_food_source_connectivity(food_sources, paths): #food_sources = nodes.is_nest, paths=result from BFS
|
||||||
connected_food_sources = set()
|
connected_food_sources = set()
|
||||||
|
|
||||||
for source in food_sources:
|
for source in food_sources:
|
||||||
@ -305,5 +305,3 @@ plt.show()
|
|||||||
|
|
||||||
|
|
||||||
# |%%--%%| <r0xVXEqlAh|6K80EwwmVN>
|
# |%%--%%| <r0xVXEqlAh|6K80EwwmVN>
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user