You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: measures/intricacy/calculate_intricacy.py
+11-5Lines changed: 11 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,10 @@
2
2
importnumpyasnp
3
3
importsys
4
4
5
-
# Code based on GeeksforGeeks: https://www.geeksforgeeks.org/program-to-count-number-of-connected-components-in-an-undirected-graph/
5
+
"""
6
+
This module implements the intricacy measure using https://www.geeksforgeeks.org/program-to-count-number-of-connected-components-in-an-undirected-graph/.
Copy file name to clipboardExpand all lines: measures/local spatial complexity/calculate_local_spatial_complexity.py
+13-8Lines changed: 13 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,11 @@
1
1
author='Surabhi S Nath'
2
2
importnumpyasnp
3
3
4
+
"""
5
+
This module implements the local spatial complexity measure based on Javaheri Javid, M. A. (2019). Aesthetic Automata: Synthesis and Simulation of Aesthetic Behaviour in Cellular Automata (Doctoral dissertation, Goldsmiths, University of London).
6
+
Refer to Section 2.2 (3) and AII for details.
7
+
"""
8
+
4
9
defget_tuples(col1, col2, dirn, grid, grid_size):
5
10
"""
6
11
This function calculates the numerator of the conditional and joint distributions and the denominator of the conditional distribution
# Javaheri Javid, M. A. (2019). Aesthetic Automata: Synthesis and Simulation of Aesthetic Behaviour in Cellular Automata (Doctoral dissertation, Goldsmiths, University of London).
0 commit comments