bnl.core.LeveledBoundary
- class bnl.core.LeveledBoundary(time, level)[source]
Bases:
RatedBoundaryA boundary that exists in a monotonic hierarchy.
This object represents a boundary that has been assigned a discrete hierarchical level. The salience attribute is automatically set to be equal to the level.
- Parameters:
time (float) – The time of the boundary in seconds.
level (int) – The discrete hierarchical level of the boundary. Must be a positive integer.
- Raises:
ValueError – If level is not a positive integer.
Public Data Attributes:
The discrete hierarchical level of the boundary.
saliencetimeInherited from
RatedBoundarysalienceInherited from
Boundarytime
- level: int
The discrete hierarchical level of the boundary.