mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-09-11 11:25:40 +03:00
26 lines
525 B
C++
26 lines
525 B
C++
// -*- mode: c++; indent-tabs-mode: nil; tab-width: 2 -*-
|
|
#pragma once
|
|
#include <string>
|
|
#include "moses/Parameter.h"
|
|
#include "OptionsBaseClass.h"
|
|
namespace Moses
|
|
{
|
|
|
|
struct
|
|
CubePruningOptions : public OptionsBaseClass
|
|
{
|
|
size_t pop_limit;
|
|
size_t diversity;
|
|
bool lazy_scoring;
|
|
bool deterministic_search;
|
|
|
|
bool init(Parameter const& param);
|
|
CubePruningOptions(Parameter const& param);
|
|
CubePruningOptions();
|
|
|
|
bool
|
|
update(std::map<std::string,xmlrpc_c::value>const& params);
|
|
};
|
|
|
|
}
|