opto.trace.nodes.AbstractNode.lt

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)