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.
Inheritance Hierarchy
Namespace: Comuna
Assembly: Comuna (in Comuna.dll) Version: 1.0.0
Syntax
C#
public class Connection : IUndirectedEdge<uint>, IEdge<uint>, IEquatable<Connection>
The Connection type exposes the following members.
Constructors
Name | Description | |
---|---|---|
Connection |
Creates a new Connection linking the given source and target with the
associated weight.
|
Properties
Name | Description | |
---|---|---|
Source |
Gets the source node.
| |
Target |
Gets the target node.
| |
Weight |
Gets the weight associated with this connection.
|
Methods
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.) |
Operators
Name | Description | |
---|---|---|
Equality |
Tests whether the two connections are equal.
| |
Inequality |
Tests whether the two connections are different (not equal).
|
See Also