/
artem_ivanov
/
Graphs
Обзор
Документация
Войти
/
artem_ivanov
/
Graphs
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
WindowsFormsGraphs/Edge.cs
21 строка
494 B
Artyom Ivanov
матрциа инцидентности и алгоритм Беллмана-Форда
07 апр 2023, 23:02
07 апр 2023, 23:02
0079deb
Код
Авторство
О чём код?
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace WindowsFormsGraphs { public class Edge { public Vertex From; public Vertex To; public int Weight; public bool BothWays; public Edge(Vertex from, Vertex to, int weight, bool bothWays = false) { From = from; To = to; Weight = weight; BothWays = bothWays; } } }