What name should I use for the "root" of a cycle?

25 views Asked by At

So, I'm writing a cyclic data structure. (In C#, but my question is language-nonspecific.) It's pretty simple: just a doubly-linked list that loops around on itself.

But while all nodes are equal, I need to single out one of them as my default entry point and reference: what is the proper name for this?

My issue is that most terms used to single out nodes in a structure like "root", "head", "top", "primary", etc. imply a hierarchy, which I explicitly do not have or desire. Others such as "current" and "active" are more egalitarian, but imply transience instead.

Right now I'm considering "origin", "handle", and even just "entry".

1

There are 1 answers

2
Paddy3118 On

You used entry, what's wrong with that?

You might use handle as it gives you a handle to your data.