using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Lab4 { class Edge { private byte name; private short fromVertex; private short wereVertex; private int weight; private byte flow = 0; public byte Name { get { return name; } } public short FromVertex { get { return fromVertex; } } public short WereVertex { get { return wereVertex; } } public int Weight { get { return weight; } set { weight = value; } } public byte Flow { get { return flow; } set { flow = value; } } public Edge(byte name,short fromVertex, short wereVertex, int weight) { this.name = name; this.fromVertex = fromVertex; this.wereVertex = wereVertex; this.weight = weight; } public Edge() { } } }