GNodeID
Object Hierarchy:
Description:
public class GNodeID :
Object
,
ISerializable
GNode I.D.
An instance is valid when we have all three values:
|#1 (elderliness) is the elderliness of the gnode inside its upper level gnode.
|#2 (eldest_internal_elderliness) is the elderliness of the eldest gnode inside me.
|#3 (eldest_internal_id) is the ID of the eldest gnode inside me. And it's also my gnode's ID.
In more details:
| . for a gnode of level 0, values #2 has no meaning (will always be 0)
| . for a gnode of level 'levels', values #1 and #2 have no meaning. Its value #3 is the netid.
Namespace: Ntk.Core
Package: vd
Content:
Properties:
- public
int
elderliness { set; get; }
- public
int
eldest_internal_elderliness { set; get; }
- public
int
eldest_internal_id { set; get; }
- public
int
ident { get; }
- public
int
min_will_bubble { get; }
This property is used as the key for a comparison when a node
recalculates its gids. The comparison is between 2 different gnodes of the same level. The one which results lower is the elder inside
the upper level, so that the first one will pass its values #1 and #3 to the upper level as values #2 and #3.
- public
int
min_will_not_rehook { get; }
This property is used as the key for a comparison when a node verifies
if the gnode has splitted (see route.get_eldest_gid()). The comparison is between 2 instances that represent the same gnode. The one
which results lower is the one which contains the elder gnode inside me, so that the first will not rehook.
Static methods:
- public static
bool
equal_func (GNodeID? a, GNodeID? b)
Creation methods:
- public GNodeID (
int
elderliness, int
eldest_internal_elderliness, int
eldest_internal_id)
Methods: