Skip to content

Main content

Graph Self Loop Incidence Convention Tool

Report the loop entry under signed directed or unsigned degree-incidence convention.

Loading tool…

Description

Return entry zero only for a directed signed incidence convention, otherwise two.

A graph's degree records how many edge incidences meet a vertex. Directed edges distinguish incoming and outgoing incidences, while loops and parallel edges require explicit counting conventions; a local degree formula does not reconstruct a graph.

Return entry zero only for a directed signed incidence convention, otherwise two.

When to use this tool

Use Graph Self Loop Incidence Convention when you need a degree or incidence calculation under the stated graph convention.

How to use the tool and how it works

  1. Enter directed, signed. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. Read entry. Use the output convention below.

Return entry zero only for a directed signed incidence convention, otherwise two.1

Input fieldMeaning and unitsAccepted input
directedDirectedRequired. Boolean.
signedSignedRequired. Boolean.
Output fieldInterpretationReturned shape
entryZero for a directed signed self-loop, two under every other supported convention.Required. Safe integer.
json
{
  "input": {
    "directed": true,
    "signed": true
  },
  "output": {
    "entry": 0
  }
}

Limitations and assumptions

  • This is the tool's supplied self-loop convention, including the value two for an unsigned directed column; it does not inspect an incidence matrix or choose a universal matrix definition.
  • Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.

Alternative or Complementary methods

Build an adjacency structure and count actual incidences when a full graph is available. Validate loop, multiplicity, direction, and vertex-set assumptions before applying a simple-graph identity.

References

  1. Calculation and input contract: graph/graph-self-loop-incidence-convention — tool.io

Similar or alternative tools