graph theory and set notation - calculating the flow in a graph
$begingroup$
I'm trying to understand some graph theory and set notation. Does the statement below read like this for calculating the flow in a graph?
Given some fixed input value j, sum those elements in f whose index
(s,j) satisfies (s,j)∈ E
So loop over all the s's (j is fixed) and add the terms corresponding to those js's which satisfy (s,j)∈E.
Which effectively means sum all the flows on the edges to get the flow in a network.
graph-theory
$endgroup$
add a comment |
$begingroup$
I'm trying to understand some graph theory and set notation. Does the statement below read like this for calculating the flow in a graph?
Given some fixed input value j, sum those elements in f whose index
(s,j) satisfies (s,j)∈ E
So loop over all the s's (j is fixed) and add the terms corresponding to those js's which satisfy (s,j)∈E.
Which effectively means sum all the flows on the edges to get the flow in a network.
graph-theory
$endgroup$
add a comment |
$begingroup$
I'm trying to understand some graph theory and set notation. Does the statement below read like this for calculating the flow in a graph?
Given some fixed input value j, sum those elements in f whose index
(s,j) satisfies (s,j)∈ E
So loop over all the s's (j is fixed) and add the terms corresponding to those js's which satisfy (s,j)∈E.
Which effectively means sum all the flows on the edges to get the flow in a network.
graph-theory
$endgroup$
I'm trying to understand some graph theory and set notation. Does the statement below read like this for calculating the flow in a graph?
Given some fixed input value j, sum those elements in f whose index
(s,j) satisfies (s,j)∈ E
So loop over all the s's (j is fixed) and add the terms corresponding to those js's which satisfy (s,j)∈E.
Which effectively means sum all the flows on the edges to get the flow in a network.
graph-theory
graph-theory
edited Jan 4 at 13:28
cherry aldi
asked Jan 4 at 11:23
cherry aldicherry aldi
203
203
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
$begingroup$
It does not read like this. The comma symbol, in relation to set membership, usually satisfies this implication: $x, y in A implies x in A $ and $y in A$. We know $j$ cannot be an edge, since it's also used in the node pair $(i,j)$ representing an edge in $E$. It's strange to have an element $j$ be both a node and an edge, but if the comma is interpreted like this, that's what we get.
To fix a variable, usually you would say $f_j = sum_{(s,j)in E} f_{s,j}$. Since $j$ is affixed as a subscript of $f$, it is made clear that $j$ is fixed for the right side of the equation.
$endgroup$
$begingroup$
Thanks - do you say that it is obvious that j is not an edge because j does not follow s in the alphabet?
$endgroup$
– cherry aldi
Jan 6 at 15:23
$begingroup$
@cherryaldi It's "obvious" because $j$ is immediately used within the node pair of the edge set. It's very unusual for an element to be both a node and an edge. I'll edit my answer with this insight.
$endgroup$
– Larry B.
Jan 6 at 19:08
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
return StackExchange.using("mathjaxEditing", function () {
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
});
});
}, "mathjax-editing");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "69"
};
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
},
noCode: 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%2fmath.stackexchange.com%2fquestions%2f3061542%2fgraph-theory-and-set-notation-calculating-the-flow-in-a-graph%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
$begingroup$
It does not read like this. The comma symbol, in relation to set membership, usually satisfies this implication: $x, y in A implies x in A $ and $y in A$. We know $j$ cannot be an edge, since it's also used in the node pair $(i,j)$ representing an edge in $E$. It's strange to have an element $j$ be both a node and an edge, but if the comma is interpreted like this, that's what we get.
To fix a variable, usually you would say $f_j = sum_{(s,j)in E} f_{s,j}$. Since $j$ is affixed as a subscript of $f$, it is made clear that $j$ is fixed for the right side of the equation.
$endgroup$
$begingroup$
Thanks - do you say that it is obvious that j is not an edge because j does not follow s in the alphabet?
$endgroup$
– cherry aldi
Jan 6 at 15:23
$begingroup$
@cherryaldi It's "obvious" because $j$ is immediately used within the node pair of the edge set. It's very unusual for an element to be both a node and an edge. I'll edit my answer with this insight.
$endgroup$
– Larry B.
Jan 6 at 19:08
add a comment |
$begingroup$
It does not read like this. The comma symbol, in relation to set membership, usually satisfies this implication: $x, y in A implies x in A $ and $y in A$. We know $j$ cannot be an edge, since it's also used in the node pair $(i,j)$ representing an edge in $E$. It's strange to have an element $j$ be both a node and an edge, but if the comma is interpreted like this, that's what we get.
To fix a variable, usually you would say $f_j = sum_{(s,j)in E} f_{s,j}$. Since $j$ is affixed as a subscript of $f$, it is made clear that $j$ is fixed for the right side of the equation.
$endgroup$
$begingroup$
Thanks - do you say that it is obvious that j is not an edge because j does not follow s in the alphabet?
$endgroup$
– cherry aldi
Jan 6 at 15:23
$begingroup$
@cherryaldi It's "obvious" because $j$ is immediately used within the node pair of the edge set. It's very unusual for an element to be both a node and an edge. I'll edit my answer with this insight.
$endgroup$
– Larry B.
Jan 6 at 19:08
add a comment |
$begingroup$
It does not read like this. The comma symbol, in relation to set membership, usually satisfies this implication: $x, y in A implies x in A $ and $y in A$. We know $j$ cannot be an edge, since it's also used in the node pair $(i,j)$ representing an edge in $E$. It's strange to have an element $j$ be both a node and an edge, but if the comma is interpreted like this, that's what we get.
To fix a variable, usually you would say $f_j = sum_{(s,j)in E} f_{s,j}$. Since $j$ is affixed as a subscript of $f$, it is made clear that $j$ is fixed for the right side of the equation.
$endgroup$
It does not read like this. The comma symbol, in relation to set membership, usually satisfies this implication: $x, y in A implies x in A $ and $y in A$. We know $j$ cannot be an edge, since it's also used in the node pair $(i,j)$ representing an edge in $E$. It's strange to have an element $j$ be both a node and an edge, but if the comma is interpreted like this, that's what we get.
To fix a variable, usually you would say $f_j = sum_{(s,j)in E} f_{s,j}$. Since $j$ is affixed as a subscript of $f$, it is made clear that $j$ is fixed for the right side of the equation.
edited Jan 6 at 19:12
answered Jan 4 at 18:16
Larry B.Larry B.
2,786728
2,786728
$begingroup$
Thanks - do you say that it is obvious that j is not an edge because j does not follow s in the alphabet?
$endgroup$
– cherry aldi
Jan 6 at 15:23
$begingroup$
@cherryaldi It's "obvious" because $j$ is immediately used within the node pair of the edge set. It's very unusual for an element to be both a node and an edge. I'll edit my answer with this insight.
$endgroup$
– Larry B.
Jan 6 at 19:08
add a comment |
$begingroup$
Thanks - do you say that it is obvious that j is not an edge because j does not follow s in the alphabet?
$endgroup$
– cherry aldi
Jan 6 at 15:23
$begingroup$
@cherryaldi It's "obvious" because $j$ is immediately used within the node pair of the edge set. It's very unusual for an element to be both a node and an edge. I'll edit my answer with this insight.
$endgroup$
– Larry B.
Jan 6 at 19:08
$begingroup$
Thanks - do you say that it is obvious that j is not an edge because j does not follow s in the alphabet?
$endgroup$
– cherry aldi
Jan 6 at 15:23
$begingroup$
Thanks - do you say that it is obvious that j is not an edge because j does not follow s in the alphabet?
$endgroup$
– cherry aldi
Jan 6 at 15:23
$begingroup$
@cherryaldi It's "obvious" because $j$ is immediately used within the node pair of the edge set. It's very unusual for an element to be both a node and an edge. I'll edit my answer with this insight.
$endgroup$
– Larry B.
Jan 6 at 19:08
$begingroup$
@cherryaldi It's "obvious" because $j$ is immediately used within the node pair of the edge set. It's very unusual for an element to be both a node and an edge. I'll edit my answer with this insight.
$endgroup$
– Larry B.
Jan 6 at 19:08
add a comment |
Thanks for contributing an answer to Mathematics Stack Exchange!
- 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.
Use MathJax to format equations. MathJax reference.
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%2fmath.stackexchange.com%2fquestions%2f3061542%2fgraph-theory-and-set-notation-calculating-the-flow-in-a-graph%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