#pragma once #include #include #include "SHyperedge.h" #include "SVertex.h" namespace Moses { namespace Syntax { typedef std::vector > SVertexStack; struct SVertexStackContentOrderer { public: bool operator()(const boost::shared_ptr &x, const boost::shared_ptr &y) { return x->best->label.futureScore > y->best->label.futureScore; } }; } // Syntax } // Moses