Skip to content
Snippets Groups Projects
Commit 8bdd5e21 authored by Pulkit gera's avatar Pulkit gera
Browse files

added docstring

parent 8f943d98
No related branches found
No related tags found
No related merge requests found
......@@ -343,6 +343,17 @@ def random_rail_generator(cell_type_relative_proportion=[1.0] * 11, seed=1) -> R
template = [template[-1]] + template[:-1]
def get_matching_templates(template):
"""
Returns a list of possible transition maps for a given template
Parameters:
------
template:List[int]
Returns:
------
List[int]
"""
ret = []
for i in range(len(transitions_templates_)):
is_match = True
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment