File:UML graph ADT.svg

Original file(SVG file, nominally 230 × 264 pixels, file size: 5 KB)

Summary

Description
English: A UML class diagram which depicts the abstract data type Graph.
Date
Source Own work
Author Frap

Made with PlantUML

Source code

PlantUML source code:

struct Graph
{
    -_edges: List<VertexPair>
    -_vertices: Set<Vertex>
    +adjacent(x, y)
    +neighbors(x)
    +add_vertex(x)
    +remove_vertex(x)
    +add_edge(x, y, z)
    +remove_edge(x, y)
    +get_vertex_value(x)
    +set_vertex_value(x, v)
    +get_edge_value(x, y)
    +set_edge_value(x, y, v)
}

Licensing

I, the copyright holder of this work, hereby publish it under the following license:
Creative Commons CC-Zero This file is made available under the Creative Commons CC0 1.0 Universal Public Domain Dedication.
The person who associated a work with this deed has dedicated the work to the public domain by waiving all of their rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.

Captions

UML class diagram of a Graph (abstract data type)

Items portrayed in this file

depicts

15 September 2023

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current09:55, 15 September 2023Thumbnail for version as of 09:55, 15 September 2023230 × 264 (5 KB)FrapUploaded own work with UploadWizard
The following pages on the English Wikipedia use this file (pages on other projects are not listed):

Metadata