What name should I use for the “root” of a cycle?What is a race condition?What is reflection and why is it useful?What is a monad?What is dependency injection?What is the difference between a framework and a library?What is (functional) reactive programming?What is the difference between a definition and a declaration?What is the meaning of “POSIX”?What is JSONP, and why was it created?Cycles in family tree software
Is there any example of one country devastating a third?
Is “I am getting married with my sister” ambiguous?
Why did MS-DOS applications built using Turbo Pascal fail to start with a division by zero error on faster systems?
Do they have Supervillain(s)?
How to prevent clipped screen edges on my TV, HDMI-connected?
Why do banks “park” their money at the European Central Bank?
Is gzip atomic?
I don't have the theoretical background in my PhD topic. I can't justify getting the degree
You have 3 cakes. Everytime you eat one, there's 17% chance the number of cakes is reset to 3. Find average number of cakes eaten?
Is for(( ... )) ... ; a valid shell syntax? In which shells?
Who was president of the USA?
How do I get toddlers to stop asking for food every hour?
How do we calculate energy of food?
What is the difference between Major and Minor Bug?
Why did this happen to Thanos's ships at the end of "Avengers: Endgame"?
How do I request a longer than normal leave of absence period for my wedding?
Is there any music source code for sound chips?
Would it be possible to have a GMO that produces chocolate?
How many US airports have 4 or more parallel runways?
Was it ever possible to target a zone?
Handling Disruptive Student on the Autistic Spectrum
Thank God it's Friday, tomorrow is THE weekend. Why the definite article?
Why did Khan ask Admiral James T. Kirk about Project Genesis?
Command in bash shell script to find path to that script?
What name should I use for the “root” of a cycle?
What is a race condition?What is reflection and why is it useful?What is a monad?What is dependency injection?What is the difference between a framework and a library?What is (functional) reactive programming?What is the difference between a definition and a declaration?What is the meaning of “POSIX”?What is JSONP, and why was it created?Cycles in family tree software
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
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".
data-structures terminology cycle nomenclature
add a comment |
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".
data-structures terminology cycle nomenclature
'head' is the usual term, and doesn't imply a hierarchy, just firstness.
– Matt Timmermans
Mar 28 at 12:13
@MattTimmermans Doesn't firstness imply hierarchy? It implies that it comes before all and after none. In a cycle, all nodes come before and after all nodes, including themselves. Although I could see it working as a conceptual ouroboros of sorts.
– Travis Reed
Mar 28 at 17:22
add a comment |
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".
data-structures terminology cycle nomenclature
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".
data-structures terminology cycle nomenclature
data-structures terminology cycle nomenclature
asked Mar 27 at 17:35
Travis ReedTravis Reed
3832 silver badges9 bronze badges
3832 silver badges9 bronze badges
'head' is the usual term, and doesn't imply a hierarchy, just firstness.
– Matt Timmermans
Mar 28 at 12:13
@MattTimmermans Doesn't firstness imply hierarchy? It implies that it comes before all and after none. In a cycle, all nodes come before and after all nodes, including themselves. Although I could see it working as a conceptual ouroboros of sorts.
– Travis Reed
Mar 28 at 17:22
add a comment |
'head' is the usual term, and doesn't imply a hierarchy, just firstness.
– Matt Timmermans
Mar 28 at 12:13
@MattTimmermans Doesn't firstness imply hierarchy? It implies that it comes before all and after none. In a cycle, all nodes come before and after all nodes, including themselves. Although I could see it working as a conceptual ouroboros of sorts.
– Travis Reed
Mar 28 at 17:22
'head' is the usual term, and doesn't imply a hierarchy, just firstness.
– Matt Timmermans
Mar 28 at 12:13
'head' is the usual term, and doesn't imply a hierarchy, just firstness.
– Matt Timmermans
Mar 28 at 12:13
@MattTimmermans Doesn't firstness imply hierarchy? It implies that it comes before all and after none. In a cycle, all nodes come before and after all nodes, including themselves. Although I could see it working as a conceptual ouroboros of sorts.
– Travis Reed
Mar 28 at 17:22
@MattTimmermans Doesn't firstness imply hierarchy? It implies that it comes before all and after none. In a cycle, all nodes come before and after all nodes, including themselves. Although I could see it working as a conceptual ouroboros of sorts.
– Travis Reed
Mar 28 at 17:22
add a comment |
1 Answer
1
active
oldest
votes
You used entry, what's wrong with that?
You might use handle as it gives you a handle to your data.
"Entry" could be interpreted as synonymous with "value", instead of as synonymous with "ingress".
– Travis Reed
Mar 27 at 19:54
What was used and why?
– Paddy3118
Apr 2 at 4:18
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55383386%2fwhat-name-should-i-use-for-the-root-of-a-cycle%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
You used entry, what's wrong with that?
You might use handle as it gives you a handle to your data.
"Entry" could be interpreted as synonymous with "value", instead of as synonymous with "ingress".
– Travis Reed
Mar 27 at 19:54
What was used and why?
– Paddy3118
Apr 2 at 4:18
add a comment |
You used entry, what's wrong with that?
You might use handle as it gives you a handle to your data.
"Entry" could be interpreted as synonymous with "value", instead of as synonymous with "ingress".
– Travis Reed
Mar 27 at 19:54
What was used and why?
– Paddy3118
Apr 2 at 4:18
add a comment |
You used entry, what's wrong with that?
You might use handle as it gives you a handle to your data.
You used entry, what's wrong with that?
You might use handle as it gives you a handle to your data.
answered Mar 27 at 17:47
Paddy3118Paddy3118
3,32017 silver badges31 bronze badges
3,32017 silver badges31 bronze badges
"Entry" could be interpreted as synonymous with "value", instead of as synonymous with "ingress".
– Travis Reed
Mar 27 at 19:54
What was used and why?
– Paddy3118
Apr 2 at 4:18
add a comment |
"Entry" could be interpreted as synonymous with "value", instead of as synonymous with "ingress".
– Travis Reed
Mar 27 at 19:54
What was used and why?
– Paddy3118
Apr 2 at 4:18
"Entry" could be interpreted as synonymous with "value", instead of as synonymous with "ingress".
– Travis Reed
Mar 27 at 19:54
"Entry" could be interpreted as synonymous with "value", instead of as synonymous with "ingress".
– Travis Reed
Mar 27 at 19:54
What was used and why?
– Paddy3118
Apr 2 at 4:18
What was used and why?
– Paddy3118
Apr 2 at 4:18
add a comment |
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55383386%2fwhat-name-should-i-use-for-the-root-of-a-cycle%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
'head' is the usual term, and doesn't imply a hierarchy, just firstness.
– Matt Timmermans
Mar 28 at 12:13
@MattTimmermans Doesn't firstness imply hierarchy? It implies that it comes before all and after none. In a cycle, all nodes come before and after all nodes, including themselves. Although I could see it working as a conceptual ouroboros of sorts.
– Travis Reed
Mar 28 at 17:22