Connection Class |
Namespace: Comuna
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).
|