2023-06-01 14:24:40 -07:00
|
|
|
# See LICENSE for licensing information.
|
|
|
|
|
#
|
2024-01-03 14:32:44 -08:00
|
|
|
# Copyright (c) 2016-2024 Regents of the University of California, Santa Cruz
|
2023-06-01 14:24:40 -07:00
|
|
|
# All rights reserved.
|
|
|
|
|
#
|
|
|
|
|
|
2023-07-13 12:07:55 -07:00
|
|
|
class graph_probe:
|
2023-06-01 14:24:40 -07:00
|
|
|
"""
|
|
|
|
|
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 13:34:27 -07:00
|
|
|
self.rect = (p1.min(p2), p1.max(p2))
|
2023-06-01 14:24:40 -07:00
|
|
|
self.lpp = lpp
|