Skip to content
NeuralLantern.com NeuralLantern.com
  • Home
  • Social Media Links
  • X / Twitter
  • Rumble
  • Youtube
  • Bitchute
  • Minds
  • Odysee
Subscribe

weighted graph

Home ยป weighted graph
Directed Weighted Graph Edge List Representation
Posted inComputer Science Data Structures Graphs

Directed Weighted Graph Edge List Representation

A directed weighted graph can be stored as a pair of lists: every vertex in one list, and every edge as a three-part tuple of start node, end node, and weight. Replacing the node values with indexes into the vertex list lets you jump to those nodes in constant time after you find an edge.
Posted by mike September 13, 2026
Graph Basics in Data Structures: Nodes, Edges, and Representations
Posted inComputer Science Data Structures Graphs

Graph Basics in Data Structures: Nodes, Edges, and Representations

Graphs are collections of nodes and edges, or vertices and edges. In this tutorial we implement them as template classes in C++ so you can use custom data types for nodes and edge weights. We cover undirected unweighted graphs, then add directions and weights to show path costs between cities or network nodes.
Posted by mike July 14, 2026
4 Graph Types: Undirected vs Directed, Weighted vs Unweighted
Posted inComputer Science Data Structures Graphs

4 Graph Types: Undirected vs Directed, Weighted vs Unweighted

A graph is basically a collection of nodes, also known as vertices, and edges, which are the lines that connect nodes to each other. The four types of graphs are undirected unweighted, undirected weighted, directed unweighted, and directed weighted. Graphs help represent relationships between things like computers in a network or cities and airports.
Posted by mike July 6, 2026

Recent Posts

  • Directed Weighted Graph Edge List Representation
  • How to Represent Undirected Weighted Graphs Using Edge Lists
  • How to Represent an Unweighted Undirected Graph with an Edge List
  • Graph Paths Explained: Node vs Edge Based, Simple Paths, Cycles and DAGs
  • Graph Connectedness Explained: Connected Strongly Connected and Weakly Connected

Recent Comments

No comments to show.

Archives

  • September 2026
  • August 2026
  • July 2026
  • June 2026
  • May 2026
  • April 2026
  • March 2026
  • February 2026
  • January 2026
  • December 2025
  • November 2025
  • October 2025
  • September 2025
  • August 2025
  • July 2025
  • June 2025
  • May 2025
  • April 2025
  • August 2023

Categories

  • Assembly Language
  • AVL Trees
  • Binary Search Trees
  • Coding
  • Computer Science
  • Conversions
  • Data Structures
  • Debugging
  • Drivers
  • Graphs
  • Networking
  • Raspberry Pi
  • Videos
Copyright 2026 — NeuralLantern.com. All rights reserved. Bloghash WordPress Theme
Scroll to Top