pygrenade_vx.network.abstract.utils.SnippetDataDictionary
-
class
pygrenade_vx.network.abstract.utils.SnippetDataDictionary Bases:
dictStores information for different snippets. The snippet index is used as a key to access the data. To be used in cases, where values might be added and removed across snippets. For every snippet index, where the topology is not changed and no new value is associated, the predecessor value is retrieved.
-
__init__(*args, **kwargs) Initialize self. See help(type(self)) for accurate signature.
Methods
get(snippet_index)Get value to snippet index.
-
get(snippet_index: int) Get value to snippet index. If no value is present for the snippet index, the predecessor value is returned. :param snippet_index: Index of experiment snippet to get value for.
-