MosesCmd::Grid Class Reference

Collaboration diagram for MosesCmd::Grid:

Collaboration graph
[legend]

List of all members.

Public Member Functions

void addParam (gridkey key, const string &arg, float defaultValue)
void parseArgs (int &argc, char **&argv)
const vector< float > & getGrid (gridkey key) const


Detailed Description

Definition at line 65 of file LatticeMBRGrid.cpp.


Member Function Documentation

void MosesCmd::Grid::addParam ( gridkey  key,
const string &  arg,
float  defaultValue 
) [inline]

Add a parameter with key, command line argument, and default value

Definition at line 69 of file LatticeMBRGrid.cpp.

References CHECK.

Referenced by main().

Here is the caller graph for this function:

const vector<float>& MosesCmd::Grid::getGrid ( gridkey  key  )  const [inline]

Get the grid for a particular key.

Definition at line 123 of file LatticeMBRGrid.cpp.

Referenced by main().

Here is the caller graph for this function:

void MosesCmd::Grid::parseArgs ( int &  argc,
char **&  argv 
) [inline]

Parse the arguments, removing those that define the grid and returning a copy of the rest

Definition at line 76 of file LatticeMBRGrid.cpp.

References key, and value.

Referenced by main().

Here is the caller graph for this function:


The documentation for this class was generated from the following file:

Generated on Thu Jun 4 00:32:57 2015 for Moses by  doxygen 1.5.9