rig.netlist.Net
: Net data structure¶
-
class
rig.netlist.
Net
(source, sinks, weight=1.0)[source]¶ A net represents connectivity from one vertex to many vertices.
Attributes: - source : vertex
The vertex which is the source of the net.
- weight : float or int
The “strength” of the net, in application specific units.
- sinks : list
A list of vertices that the net connects to.
-
__init__
(source, sinks, weight=1.0)[source]¶ Create a new Net.
Parameters: - source : vertex
- sinks : list or vertex
If a list of vertices is provided then the list is copied, whereas if a single vertex is provided then this used to create the list of sinks.
- weight : float or int
-
__weakref__
¶ list of weak references to the object (if defined)