Added new wiki articles

This commit is contained in:
/usr/bin/nano committed 2020-02-08 13:00:25 +03:00
1 parent b659e2cd60
commit 7f4a5442ea
209 files changed
+592 -184

No files matched your search

+5 -4
View File
@@ -1,16 +1,17 @@
version=pmwiki-2.2.75 ordered=1 urlencoded=1
agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.82 Safari/537.36 OPR/39.0.2256.48
agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36 OPR/43.0.2442.1165
author=
charset=UTF-8
csum=
ctime=1470752752
description=About adjacency matrix and the way it can be applied in Graph Online
host=128.68.33.133
host=37.146.179.134
name=Help.AdjacencyMatrix
rev=4
passwdedit=@lock
rev=5
targets=
text=(:Title Adjacency matrix:)%0a(:Description About adjacency matrix and the way it can be applied in Graph Online:)%0a%0a!! What is adjacency matrix?%0aAdjacency matrix is the type of graph visualization in form of matrix; crossing of columns and rows determines the edges. Using adjacency matrix you can determine the edges' weight and orientation. Every matrix's row and column correspond to edges; the number of the row corresponds to the vertex, where an edge starts; the number of the column corresponds to the vertex where an edge finishes. %0a%0a!! Examples of adjacency matrices%0a%0a(:table width=100%25 :)%0a(:head:) Graph consisting of 3 connected vertices%0a(:head:) Graph with oriented edge%0a(:head:) Graph consistiong of 4 vertices without edges%0a(:cellnr align=center valign=center:) %0a[@ %0a0, 1, 1, %0a1, 0, 1, %0a1, 1, 0, %0a@]%0a(:cell align=center valign=center :) %0a[@%0a0, 1, %0a0, 0, %0a@]%0a(:cell align=center valign=center:) %0a[@%0a0, 0, 0, 0, %0a0, 0, 0, 0, %0a0, 0, 0, 0, %0a0, 0, 0, 0, %0a@]%0a(:cellnr align=center:) %25width=200px%25http://graphonline.ru/wiki/uploads/Справка/3%2520vertexes%2520Graph.png%0a(:cell align=center:) %25width=200px%25http://graphonline.ru/wiki/uploads/Справка/2%2520vertexes%2520orient%2520Graph.png%0a(:cell align=center:) %25width=200px%25http://graphonline.ru/wiki/uploads/Справка/4%2520vertexes%2520Graph.png%0a(:cellnr align=center:) [[http://graphonline.ru/?graph=xPHsDIALOpAQstFq | Ссылка на граф]]%0a(:cell align=center:) [[http://graphonline.ru/?graph=XGzjPUrUjVQleOzJ | Ссылка на граф]]%0a(:cell align=center:) [[http://graphonline.ru/?graph=rFmgAUzjzIZCuGHM | Ссылка на граф]]%0a(:tableend:)%0a%0a!! Adjacency matrix in Graph Online %0a%0aGraph Online allows you to create [[http://graphonline.ru/create_graph_by_matrix| Создать граф по матрице смежности]].%0a%0a%25width=450px%25http://graphonline.ru/wiki/uploads/Справка/create_graph_from_matrix.jpg%0a%0aMoreover, users can edit the existing adjacency matrix. In order to do that you have to choose Graph in the menu bar and then Adjacency matrix.%0a%0a%25width=450px%25http://graphonline.ru/wiki/uploads/Справка/edit_graph_matrix.jpg%0a%0aIn order to use adjacency matrix you have to enter it in the right form.%0a%0a!! How to enter adjacency matrix%0a%0a%25id=matrixFormat%25 Entering an adjacency matrix you have to take into account the following principles:%0a%0a# A matrix should be square; the number of rows should be equal to the number of columns.%0a# Every new row should be entered from the new line.%0a# Every figure is followed by comma (,)%0a# The weight of the edge should be a positive number. Value "0" means the edge does not exist.%0a%0aLet's look through the major mistakes which the user may face while entering an adjacency matrix%0a%0a!!! Major mistakes which happen while entering adjacency matrix%0a%0a(:table width=100%25 cellspacing=4 :)%0a(:head:) The wrong matrix%0a(:head:) The cause of the mistake%0a(:head:) The correct matrix%0a(:cellnr align=center valign=center bgcolor=#ffcccc:) %0a[@ %0a5,5,5,5,5%0a5,5,5,5,5%0a5,5,5,5,5%0a@]%0a(:cell align=center valign=center:) The matrix is not square; the number of rows is 3 and the number of columns is 5 %0a(:cell align=center valign=center bgcolor=#ccffcc:)%0a[@ %0a5,5,5,5,5%0a5,5,5,5,5%0a5,5,5,5,5%0a5,5,5,5,5%0a5,5,5,5,5%0a@]%0a(:cellnr align=center valign=center bgcolor=#ffcccc:) %0a[@ %0a0,1,1,1,0,1,0,0,0%0a1,0,1,0,0,1,1,1,0%0a1,1,0,1,1,0,1,0,0%0a1,0,1,0,1,1,1,1,0%0a0,0,1,1,0,1,0,0,0%0a1,1,0,1,1,0,1,1,1%0a0,1,1,1,0,1,0,0,1%0a0,0,0,0,0,1,1,1,0%0a@]%0a(:cell align=center valign=center:) The matrix is not square; the number of rows is 8 and the number of columns is 9%0a(:cell align=center valign=center bgcolor=#ccffcc:) %0a[@ %0a0,1,1,1,0,1,0,0,0%0a1,0,1,0,0,1,1,1,0%0a1,1,0,1,1,0,1,0,0%0a1,0,1,0,1,1,1,1,0%0a0,0,1,1,0,1,0,0,0%0a1,1,0,1,1,0,1,1,1%0a0,1,1,1,0,1,0,0,1%0a0,0,0,0,0,1,1,1,0%0a0,0,0,0,0,0,0,0,0%0a@]%0a(:cellnr align=center valign=center bgcolor=#ffcccc:) %0a[@ %0a1, 0, 0%0a1, 2, 0%0a-2, 1, 0%0a0, -2, 0%0a1, 3, 0%0a@]%0a(:cell align=center valign=center:) The matrix is not square, it also contains negative values%0a(:cell align=center valign=center bgcolor=#ccffcc:) %0a[@ %0a1, 0, 0%0a1, 2, 0%0a2, 1, 0%0a@]%0a(:cellnr align=center valign=center bgcolor=#ffcccc:) %0a[@ %0a1 2,%0a1 3,%0a1 4,%0a4 5,%0a5 2,%0a6 3,%0a@]%0a(:cell align=center valign=center:) Dependence between the vertices was entered instead of an adjacency matrix. You have to enter an adjacency matrix for that graph.%0a(:cell align=center valign=center bgcolor=#ccffcc:) %0a[@ %0a0, 1, 1, 1, 0, 0, %0a0, 0, 0, 0, 0, 0, %0a0, 0, 0, 0, 0, 0, %0a0, 0, 0, 0, 1, 0, %0a0, 1, 0, 0, 0, 0, %0a0, 0, 1, 0, 0, 0, %0a@]%0a(:cellnr align=center valign=center bgcolor=#ffcccc:) %0a[@ %0a∞,10,9,10%0a10,∞,∞,∞%0a∞,5,∞.8%0a10,∞,∞,Line truncated
time=1471104527
time=1495230326
title=Adjacency matrix
author:1471104527=
diff:1471104527:1471104471:=148c148%0a%3c (:cell align=center valign=center:) Instead of symbol "∞" use "0".%0a---%0a> (:cell align=center valign=center:) Вместо символаInstead of symbol "∞" use "0".%0a