Naming Utils¶
-
src.naming_utils.
s_star_index_node
(i)[source]¶ Given an index in the sequence, get the name of node corresponding to this index in s_star.
Parameters: i – Index in the sequence. Returns: Name of node corresponding to this index in s_star. Example:
s_star_index_node(3) = 's_star_3'
-
src.naming_utils.
index_color_node
(i, c)[source]¶ Given an index in the sequence, and a color, get the name of node who’s index is i and color is c.
Parameters: - i – Index in the sequence.
- c – Color, between 0 and 9.
Returns: Name of node corresponding to this index in s_star.
Example:
index_color_node(0, 9) = 'i_0_c_9'
This page was generated using this .rst code:¶
Naming Utils
==================
|
|
.. autofunction:: src.naming_utils.s_star_index_node
|
.. autofunction:: src.naming_utils.index_color_node
|
|
This page was generated using this .rst code:
*********************************************
|
.. literalinclude:: naming_utils.rst
|
|
:ref:`Return Home <mastertoc>`