◆ __init__()
| batcher_visualization.FixedSizeArrayTracker.__init__ |
( |
| self, |
|
|
| size, |
|
|
| logging_enabled = False ) |
◆ __repr__()
| batcher_visualization.FixedSizeArrayTracker.__repr__ |
( |
| self | ) |
|
Returns a detailed representation of the metadata.
◆ _find_space()
| batcher_visualization.FixedSizeArrayTracker._find_space |
( |
| self, |
|
|
| length ) |
|
protected |
Finds a contiguous block of empty space of the given length.
◆ _log()
| batcher_visualization.FixedSizeArrayTracker._log |
( |
| self, |
|
|
| message ) |
|
protected |
Logs a message if logging is enabled.
◆ _visualize()
| batcher_visualization.FixedSizeArrayTracker._visualize |
( |
| self | ) |
|
|
protected |
Returns a visual representation of the metadata.
◆ add_metadata()
| batcher_visualization.FixedSizeArrayTracker.add_metadata |
( |
| self, |
|
|
| id, |
|
|
| start, |
|
|
| length ) |
Adds metadata for a specific ID.
◆ compact()
| batcher_visualization.FixedSizeArrayTracker.compact |
( |
| self | ) |
|
Compacts the metadata by removing gaps.
◆ get_metadata()
| batcher_visualization.FixedSizeArrayTracker.get_metadata |
( |
| self, |
|
|
| id ) |
Retrieves the metadata for the given ID.
◆ remove_metadata()
| batcher_visualization.FixedSizeArrayTracker.remove_metadata |
( |
| self, |
|
|
| id ) |
Removes metadata for a specific ID.
◆ logging_enabled
| batcher_visualization.FixedSizeArrayTracker.logging_enabled = logging_enabled |
◆ metadata
| dict batcher_visualization.FixedSizeArrayTracker.metadata = {} |
◆ size
| batcher_visualization.FixedSizeArrayTracker.size = size |
The documentation for this class was generated from the following file: