Connection Class
From Comuna.NET
Comuna.NET - A community analysis, tracking and graphing library for social networks written in C#
![]() | Connection Class |
Represents an undirected connection in an Network with an associated weight.
Namespace: Comuna
Assembly: Comuna (in Comuna.dll) Version: 1.0.0
C#
public class Connection : IUndirectedEdge<uint>, IEdge<uint>, IEquatable<Connection>
The Connection type exposes the following members.
| Name | Description | |
|---|---|---|
| Connection |
Creates a new Connection linking the given source and target with the
associated weight.
|
| Name | Description | |
|---|---|---|
| Source |
Gets the source node.
| |
| Target |
Gets the target node.
| |
| Weight |
Gets the weight associated with this connection.
|
| Name | Description | |
|---|---|---|
| Equals(Object) | (Overrides ObjectEquals(Object).) | |
| Equals(Connection) |
Tests whether this connection is equal to another one.
| |
| Finalize | (Inherited from Object.) | |
| GetHashCode | (Overrides ObjectGetHashCode.) | |
| GetType | (Inherited from Object.) | |
| MemberwiseClone | (Inherited from Object.) | |
| ToString | (Overrides ObjectToString.) |
| Name | Description | |
|---|---|---|
| Equality |
Tests whether the two connections are equal.
| |
| Inequality |
Tests whether the two connections are different (not equal).
|
