예제 #1
0
        public Edge(Node <TNode> startNode, Node <TNode> endNode)
        {
            mStartNode = startNode;
            mEndNode   = endNode;

            mStartNode.AddNeighbor(mEndNode);
            mEndNode.AddNeighbor(mStartNode);
        }