Moses::CNStats Struct Reference

List of all members.

Public Member Functions

 CNStats ()
 ~CNStats ()
void createOne ()
void destroyOne ()
void collect (const ConfusionNet &cn)
void print (std::ostream &out) const

Public Attributes

size_t created
size_t destr
size_t read
size_t colls
size_t words


Detailed Description

Definition at line 17 of file ConfusionNet.cpp.


Constructor & Destructor Documentation

Moses::CNStats::CNStats (  )  [inline]

Definition at line 20 of file ConfusionNet.cpp.

Moses::CNStats::~CNStats (  )  [inline]

Definition at line 21 of file ConfusionNet.cpp.

References print().

Here is the call graph for this function:


Member Function Documentation

void Moses::CNStats::collect ( const ConfusionNet cn  )  [inline]

Definition at line 32 of file ConfusionNet.cpp.

References colls, Moses::ConfusionNet::GetSize(), read, and words.

Referenced by Moses::ConfusionNet::Read().

Here is the call graph for this function:

Here is the caller graph for this function:

void Moses::CNStats::createOne (  )  [inline]

Definition at line 25 of file ConfusionNet.cpp.

References created.

Referenced by Moses::ConfusionNet::ConfusionNet().

Here is the caller graph for this function:

void Moses::CNStats::destroyOne (  )  [inline]

Definition at line 28 of file ConfusionNet.cpp.

References destr.

Referenced by Moses::ConfusionNet::~ConfusionNet().

Here is the caller graph for this function:

void Moses::CNStats::print ( std::ostream &  out  )  const [inline]

Definition at line 38 of file ConfusionNet.cpp.

References colls, created, destr, read, and words.

Referenced by ~CNStats().

Here is the caller graph for this function:


Member Data Documentation

Definition at line 18 of file ConfusionNet.cpp.

Referenced by collect(), and print().

Definition at line 18 of file ConfusionNet.cpp.

Referenced by createOne(), and print().

Definition at line 18 of file ConfusionNet.cpp.

Referenced by destroyOne(), and print().

Definition at line 18 of file ConfusionNet.cpp.

Referenced by collect(), and print().

Definition at line 18 of file ConfusionNet.cpp.

Referenced by collect(), and print().


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

Generated on Sat Oct 25 00:31:10 2014 for Moses by  doxygen 1.5.9