graph theory and set notation - calculating the flow in a graph












1












$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?



enter image description here




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.










share|cite|improve this question











$endgroup$

















    1












    $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?



    enter image description here




    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.










    share|cite|improve this question











    $endgroup$















      1












      1








      1





      $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?



      enter image description here




      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.










      share|cite|improve this question











      $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?



      enter image description here




      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






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited Jan 4 at 13:28







      cherry aldi

















      asked Jan 4 at 11:23









      cherry aldicherry aldi

      203




      203






















          1 Answer
          1






          active

          oldest

          votes


















          0












          $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.






          share|cite|improve this answer











          $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











          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
          });


          }
          });














          draft saved

          draft discarded


















          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









          0












          $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.






          share|cite|improve this answer











          $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
















          0












          $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.






          share|cite|improve this answer











          $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














          0












          0








          0





          $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.






          share|cite|improve this answer











          $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.







          share|cite|improve this answer














          share|cite|improve this answer



          share|cite|improve this answer








          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


















          • $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


















          draft saved

          draft discarded




















































          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.




          draft saved


          draft discarded














          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





















































          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







          Popular posts from this blog

          'app-layout' is not a known element: how to share Component with different Modules

          android studio warns about leanback feature tag usage required on manifest while using Unity exported app?

          WPF add header to Image with URL pettitions [duplicate]