struct Node;

struct Edge
{
    __forceinline Node* GetOtherNode(const Node* n) const
    {
        if(n0 == n)
        {
            return n1;
        }
        else
        {
            return n0;
        }
    }

    __forceinline bool ContainsNode(const Node* n) const
    {
        return (n == n0 || n == n1);
    }

    Node *n0, *n1;
    //UINT label;
};