Constructor
new Bar(id)
Default constructor for a bar, initialises with default values.
Parameters:
Name | Type | Description |
---|---|---|
id |
of the bar. |
- Source:
Members
componentA
List of nodes contained on one set created by removing the associated edge from the mst.
- Source:
componentB
Disjoint set with componentA.
- Source:
death
Time of death.
- Source:
edge
Edge associated with this bar.
- Source:
id
Id of the bar.
- Source:
ratio
Ratio of the spanning 2 components of the spanning tree separated by the associated edge.
- Source:
selected
True if the bar is selected and repulsion is added.
- Source: