const BestHyps

This commit is contained in:
Hieu Hoang 2017-01-22 21:45:27 +00:00
parent 488cf1048d
commit f1fac914a1
3 changed files with 3 additions and 3 deletions

View File

@ -13,7 +13,7 @@ public:
BestHypsBase() {}
BestHypsBase(const BestHypsBase&) = delete;
virtual void operator()(God &god,
virtual void operator()(const God &god,
std::vector<Beam>& beams,
const Beam& prevHyps,
std::vector<size_t>& beamSizes,

View File

@ -23,7 +23,7 @@ struct ProbCompare {
class BestHyps : public BestHypsBase
{
public:
void operator()(God &god,
void operator()(const God &god,
std::vector<Beam>& beams,
const Beam& prevHyps,
std::vector<size_t>& beamSizes,

View File

@ -56,7 +56,7 @@ class BestHyps : public BestHypsBase
return alignments;
}
void operator()(God &god,
void operator()(const God &god,
std::vector<Beam>& beams,
const Beam& prevHyps,
std::vector<size_t>& beamSizes,