using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DataStructures
{
    public class Connection<T>
    {
        public Connection(Node<T> start, Node<T> end, float cost)
        {
            Start = start;
            End = end;
            Cost = cost;
        }

        public Node<T> Start { get; set; }
        public Node<T> End { get; set; }
        public float Cost { get; set; }
    }
}
