hpimdm/tree/metric.py
def is_better_than(self, other):
        """
        Verify if this RPC state is better than other
        """
        if self.metric_preference != other.metric_preference:
            return self.metric_preference < other.metric_preference
        else:
            return self.route_metric < other.route_metric

        Verify if this RPC state is better than other
        
Verify if this RPC state is better than other
Verify if this RPC state is better than other
def is_better_than(self, other):
        if self.metric_preference != other.metric_preference:
            return self.metric_preference < other.metric_preference
        else:
            return self.route_metric < other.route_metric
def is_better_than ( self , other ) : if self . metric_preference != other . metric_preference : return self . metric_preference < other . metric_preference else : return self . route_metric < other . route_metric
Verify if this RPC state is better than other
Verify if this RPC state is better than other
"""
        Verify if this RPC state is better than other
        """
self
other