Connection Class

Comuna.NET

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
  NameDescription
Public methodEquals(Object) (Overrides ObjectEquals(Object).)
Public methodEquals(Connection)
Tests whether this connection is equal to another one.
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Overrides ObjectGetHashCode.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Overrides ObjectToString.)
Top
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