Git Product home page Git Product logo

hsiaosiyuan0.github.io's Introduction

hsiaosiyuan0.github.io's People

Contributors

hsiaosiyuan0 avatar

Stargazers

Your Friend avatar

Watchers

 avatar  avatar

hsiaosiyuan0.github.io's Issues

Graph theory

Definition - Graph theory is the study of mathematical objects known as graphs, which consist of vertices (or nodes) connected by edges.

Common usage - Any scenario in which one wishes to examine the structure of a network of connected objects is potentially a problem for graph theory.

Below sentence seems wrong:

A non-trivial graph consists of one or more vertices (or nodes) connected by edges.

from https://brilliant.org/wiki/graph-theory/

because the trivial graph is the graph on one vertex. This graph meets the definition of conneced vacuously (since an edage requires two vertices). A non-trivial connected graph is any connected graph that isn't this graph.

In mathematics, the adjective trivial is frequently used for objects (for example, groups or topological spaces) that have a very simple structure.

The degree of a vertex is the number of edges connected to that vertex.

In the graph below, vertex A is degress 3, while vertices B and C are degree 2, vertex D is degree 1, and vertex E is of degree 0.

A graph is said to be complete if there exists an edge connecting every two pairs of vertices:

The number of edges in a complete graph with $n$ vertices can be found by:

$(n-1) + (n-2) + ... + 2 + 1 = \frac{n(n-1)}{2}$

Given a graph $G = (V, E)$, the degree sum formula can be written as:

$\sum_{v \in V} deg(v) = 2|E|$

An adjacency matrix is a square matrix (same number of rows and columns), used to represent a finite graph. The elements of the matrix indicate whether pairs of vertices are adjacent or not in the graph.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.