mosesdecoder/moses/parameters/CubePruningOptions.h

26 lines
525 B
C
Raw Normal View History

2015-08-05 16:17:58 +03:00
// -*- mode: c++; indent-tabs-mode: nil; tab-width: 2 -*-
2015-08-05 04:15:34 +03:00
#pragma once
#include <string>
#include "moses/Parameter.h"
#include "OptionsBaseClass.h"
2015-08-05 04:15:34 +03:00
namespace Moses
{
struct
CubePruningOptions : public OptionsBaseClass
2015-08-05 04:15:34 +03:00
{
size_t pop_limit;
size_t diversity;
bool lazy_scoring;
bool deterministic_search;
2015-08-05 04:15:34 +03:00
bool init(Parameter const& param);
CubePruningOptions(Parameter const& param);
CubePruningOptions();
bool
update(std::map<std::string,xmlrpc_c::value>const& params);
2015-08-05 04:15:34 +03:00
};
}