Click or drag to resize

Connection Class

Represents an undirected connection in an Network with an associated weight.
Inheritance Hierarchy
SystemObject
  ComunaConnection

Namespace:  Comuna
Assembly:  Comuna (in Comuna.dll) Version: 1.0.0
Syntax
C#
public class Connection : IUndirectedEdge<uint>, 
	IEdge<uint>, IEquatable<Connection>
Request Example View Source

The Connection type exposes the following members.

Constructors
  NameDescription
Public methodConnection
Creates a new Connection linking the given source and target with the associated weight.
Top
Properties
  NameDescription
Public propertySource
Gets the source node.
Public propertyTarget
Gets the target node.
Public propertyWeight
Gets the weight associated with this connection.
Top
Methods
Operators
  NameDescription
Public operatorStatic memberEquality
Tests whether the two connections are equal.
Public operatorStatic memberInequality
Tests whether the two connections are different (not equal).
Top
See Also