Graph Algorithms the Fun Way - Jeremy Kubica

Graph Algorithms the Fun Way

Powerful Algorithms Decoded, Not Oversimplified

(Autor)

Buch | Softcover
264 Seiten
2024
No Starch Press,US (Verlag)
978-1-7185-0386-1 (ISBN)
69,95 inkl. MwSt
This book provides a fun and accessible introduction to graph algorithms, commonly used to solve a wide range of computational and mathematical problems. Full of humorous analogies, detailed diagrams, and real-world examples using the Python programming language, Graph Algorithms the Fun Way will show you how graph data structures can model a vast variety of phenomena - from physical mazes to communication networks - while helping you develop a strong foundation for how they work, when to use them, and how to create variants. It starts with the structure of graphs, demonstrating the ways they can represent connections between nodes, such as the best route through a city or how rumours spread in a social network. Each subsequent chapter introduces new graph algorithms along with their underlying concepts and applications - from basic searches to more advanced methods of exploring graphs. You'll have a blast solving brain-teasers including the 15-square puzzle, matching adopted pets with homes, calculating the maximum flow of a sewage network, traversing magical labyrinths, sorting recipe steps to craft the perfect cookies, and more. You'll also learn how to: Work with weighted and directed graphs, Use heuristics to prioritize which paths in a graph to explore, Determine which components of a graph are key for its structural integrity, Generate random mazes. Guided by the bestselling author of Data Structures the Fun Way, this equally fun follow-up will help you build a strong understanding of a crucial coding topic and apply graph algorithms to your own projects.

Jeremy Kubica is an engineering director working at the intersection of computer science and astrophysics. He holds a PhD in robotics from Carnegie Mellon University and a BS in computer science from Cornell University. He is the author of The CS Detective, Data Structures the Fun Way (both from No Starch Press), and Computational Fairy Tales.

Part 1: Graph Basics
   Chapter 1: Representing Graphs
   Chapter 2: Neighbors and Neighborhoods
   Chapter 3: Paths Through Graphs

Part 2: Search and Shortest Paths
   Chapter 4: Depth-First Search
   Chapter 5: Breadth-First Search
   Chapter 6: Solving Puzzles
   Chapter 7: Shortest Paths
   Chapter 8: Heuristic Searches

Part 3: Connectivity and Ordering
   Chapter 9: Topological Sort
   Chapter 10: Minimum Spanning Tree
   Chapter 11: Bridges and Articulation Points
   Chapter 12: Strongly Connected Components
   Chapter 13: Markov Systems

Part 4: Max-Flow and Bipartite Matching
   Chapter 14: Max-Flow Algorithms
   Chapter 15: Bipartite Graphs and Bipartite Matching

Part 5: Hard Graph Problems
   Chapter 16: Graph Coloring
   Chapter 17: Independent Sets and Cliques
   Chapter 18: Tours Through Graphs
   Appendix A: Constructing Graphs
   Appendix B: Priority Queue
   Appendix C: Union-Find Data Structures

Erscheinungsdatum
Verlagsort San Francisco
Sprache englisch
Maße 178 x 235 mm
Themenwelt Mathematik / Informatik Informatik Programmiersprachen / -werkzeuge
Informatik Theorie / Studium Algorithmen
Informatik Theorie / Studium Künstliche Intelligenz / Robotik
ISBN-10 1-7185-0386-5 / 1718503865
ISBN-13 978-1-7185-0386-1 / 9781718503861
Zustand Neuware
Haben Sie eine Frage zum Produkt?
Mehr entdecken
aus dem Bereich
IT zum Anfassen für alle von 9 bis 99 – vom Navi bis Social Media

von Jens Gallenbacher

Buch | Softcover (2021)
Springer (Verlag)
29,99
Interlingua zur Gewährleistung semantischer Interoperabilität in der …

von Josef Ingenerf; Cora Drenkhahn

Buch | Softcover (2023)
Springer Fachmedien (Verlag)
32,99