(self, start, end)
return self.distances[(start,end)]
Estimate how far start is from end.
        
        @type  start: node
        @param start: Start node.
        
        @type  end: node
        @param end: End node.
Estimate how far start is from end.
Estimate how far start is from end .
def __call__(self, start, end):
        """
        Estimate how far start is from end.
        
        @type  start: node
        @param start: Start node.
        
        @type  end: node
        @param end: End node.
        """
        assert len(list(self.distances.keys())) > 0, "You need to optimize this heuristic for your graph before it can be used to estimate."
                
        return self.distances[(start,end)]
def __call__ ( self , start , end ) : assert len ( list ( self . distances . keys ( ) ) ) > 0 , "You need to optimize this heuristic for your graph before it can be used to estimate." return self . distances [ ( start , end ) ]