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"
|
2015-08-07 21:17:37 +03:00
|
|
|
#include "OptionsBaseClass.h"
|
2015-08-05 04:15:34 +03:00
|
|
|
namespace Moses
|
|
|
|
{
|
|
|
|
|
|
|
|
struct
|
2015-08-07 21:17:37 +03:00
|
|
|
CubePruningOptions : public OptionsBaseClass
|
2015-08-05 04:15:34 +03:00
|
|
|
{
|
|
|
|
size_t pop_limit;
|
|
|
|
size_t diversity;
|
|
|
|
bool lazy_scoring;
|
2015-09-25 12:03:23 +03:00
|
|
|
bool deterministic_search;
|
2015-08-05 04:15:34 +03:00
|
|
|
|
|
|
|
bool init(Parameter const& param);
|
|
|
|
CubePruningOptions(Parameter const& param);
|
2015-12-08 15:28:35 +03:00
|
|
|
CubePruningOptions();
|
2015-08-07 21:17:37 +03:00
|
|
|
|
|
|
|
bool
|
|
|
|
update(std::map<std::string,xmlrpc_c::value>const& params);
|
2015-08-05 04:15:34 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|