/* * ArcList.h * * Created on: 26 Oct 2015 * Author: hieu */ #ifndef ARCLISTS_H_ #define ARCLISTS_H_ #include #include class Hypothesis; typedef std::vector ArcList; class ArcLists { public: ArcLists(); virtual ~ArcLists(); void AddArc(bool added, const Hypothesis *currHypo,const Hypothesis *otherHypo); protected: typedef boost::unordered_map Coll; Coll m_coll; ArcList *GetArcList(const Hypothesis *hypo); ArcList *GetAndDetachArcList(const Hypothesis *hypo); }; #endif /* ARCLISTS_H_ */