liveBook · Manning

Hypergraph

A hypergraph is a graph whose hyperedges can connect any number of vertices rather than exactly two.

How 2 Manning books explain it

Optimization Algorithms: AI techniques for design, planning, and control problems

A hypergraph is a generalization of a graph whose hyperedges can connect any number of vertices.

How it is used
Represents group relationships that ordinary pairwise graph edges cannot express directly.
How deep it goes
Defines hypergraphs and demonstrates construction and drawing, but does not develop algorithms or internal representations.
Examples
Uses four HyperNetX hyperedges, including sets of two, three, five, and six vertices.
What you can do after
Builds and draws a hypergraph from vertex sets using HyperNetX.

Read how Optimization Algorithms: AI techniques for design, planning, and control problems explains hypergraph →

Graph Neural Networks in Action

A hypergraph is a graph in which a single hyperedge can connect any number of nodes rather than exactly two.

How it is used
Models relationships involving groups of nodes, such as group chats, instead of restricting every connection to a pair.
How deep it goes
Defines hyperedges and incidence tensors, but stops short of algorithms or implementation code.
Examples
Uses group chats, isolated nodes, self-loops, and hyperedges joining up to three nodes.
What you can do after
Evaluate whether a relationship requires multi-node edges rather than ordinary pairwise graph connections.

Read how Graph Neural Networks in Action explains hypergraph →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.