C# Class Graph.Edge

Afficher le fichier Open project: jlvermeulen/algorithms-and-data-structures Class Usage Examples

Méthodes publiques

Свойство Type Description
Capacity uint
From uint
To uint
Weight int

Méthodes publiques

Méthode Description
Edge ( uint from, uint to, int weight, uint capacity )

Initialises a new instance of the Edge class with the specified endpoints, weight and capacity.

Method Details

Edge() public méthode

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.

Property Details

Capacity public_oe property

The capacity of the edge.
public uint Capacity
Résultat uint

From public_oe property

The ID of the first endpoint of the edge.
public uint From
Résultat uint

To public_oe property

The ID of the second endpoint of the edge.
public uint To
Résultat uint

Weight public_oe property

The weight of the edge.
public int Weight
Résultat int