opto.trace.nodes.AbstractNode.lt#
- AbstractNode.lt(other)[source]#
Compare if this nodeās level is less than another nodeās level.
- Parameters:
other ā The other node to compare against.
- Returns:
True if this nodeās level is less than the other nodeās level.
- Return type:
bool
Notes
This method is used to compare the levels of two nodes in the DAG. Therefore it checks if the negated level of the current node (-self._level) is less than the negated level of the other node (-other._level)