public override bool Equals(object obj)
        {
            IndexNode other = (IndexNode)obj;

            if (other == null)
            {
                return(false);
            }
            return(this.index.Equals(other.index));
        }
 /// <summary>
 /// Adds the connection.
 /// </summary>
 /// <param name="indexNode">The index node.</param>
 public void AddConnection(IndexNode indexNode)
 {
     this.Connections.Add(indexNode);
 }