Свойство | Тип | Описание | |
---|---|---|---|
Capacity | uint | ||
From | uint | ||
To | uint | ||
Weight | int |
Метод | Описание | |
---|---|---|
Edge ( uint from, uint to, int weight, uint capacity ) |
Initialises a new instance of the Edge class with the specified endpoints, weight and capacity.
|
public Edge ( uint from, uint to, int weight, uint capacity ) | ||
from | uint | The ID of the first endpoint of the new edge. |
to | uint | The ID of the second endpoint of the new edge. |
weight | int | The weight of the new edge. |
capacity | uint | The capacity of the new edge. |