2023-06-01 23:24:40 +02:00
|
|
|
# See LICENSE for licensing information.
|
|
|
|
|
#
|
|
|
|
|
# Copyright (c) 2016-2023 Regents of the University of California, Santa Cruz
|
|
|
|
|
# All rights reserved.
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
class hanan_probe:
|
|
|
|
|
"""
|
|
|
|
|
This class represents a probe sent from one point to another on Hanan graph.
|
|
|
|
|
This is used to mimic the pin_layout class to utilize its methods.
|
|
|
|
|
"""
|
|
|
|
|
|
|
|
|
|
def __init__(self, p1, p2, lpp):
|
|
|
|
|
|
2023-07-03 22:34:27 +02:00
|
|
|
self.rect = (p1.min(p2), p1.max(p2))
|
2023-06-01 23:24:40 +02:00
|
|
|
self.lpp = lpp
|