Welcome to mirror list, hosted at ThFree Co, Russian Federation.

CubePruningOptions.h « parameters « moses - github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 0545b661089ff06c4d0c09321eb2212510597492 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// -*- 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);
  };

}