class NodeKernel
{
public:
    virtual double Evaluate(const Node &n0, const Node &n1) const = 0;
};

class NodeKernelColor : public NodeKernel
{
public:
    double Evaluate(const Node &n0, const Node &n1) const;
};