opto.trace.nodes.AbstractNode.gt#
- AbstractNode.gt(other)[source]#
Compare if this node’s level is greater than another node’s level.
- Parameters:
other – The other node to compare against.
- Returns:
True if this node’s level is greater 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 greater than the negated level of the other node (-other._level)