/disk4/html/www/moses/doxygen/mosesdecoder/moses/FeatureVectorTest.cpp File Reference

#include <boost/test/unit_test.hpp>
#include "FeatureVector.h"

Go to the source code of this file.

Functions

 BOOST_AUTO_TEST_CASE (vector_sum_diff)
 BOOST_AUTO_TEST_CASE (scalar)
 BOOST_AUTO_TEST_CASE (inc)
 BOOST_AUTO_TEST_CASE (vector_mult)
 BOOST_AUTO_TEST_CASE (core)
 BOOST_AUTO_TEST_CASE (core_arith)
 BOOST_AUTO_TEST_CASE (core_scalar)
 BOOST_AUTO_TEST_CASE (l1norm)
 BOOST_AUTO_TEST_CASE (sum)
 BOOST_AUTO_TEST_CASE (l2norm)
 BOOST_AUTO_TEST_CASE (ip)


Function Documentation

BOOST_AUTO_TEST_CASE ( ip   ) 

Definition at line 288 of file FeatureVectorTest.cpp.

References Moses::inner_product().

Here is the call graph for this function:

BOOST_AUTO_TEST_CASE ( l2norm   ) 

Definition at line 276 of file FeatureVectorTest.cpp.

References Moses::FVector::l2norm(), and n.

Here is the call graph for this function:

BOOST_AUTO_TEST_CASE ( sum   ) 

Definition at line 262 of file FeatureVectorTest.cpp.

References n, and Moses::FVector::sum().

Here is the call graph for this function:

BOOST_AUTO_TEST_CASE ( l1norm   ) 

Definition at line 249 of file FeatureVectorTest.cpp.

References Moses::FVector::l1norm(), and n.

Here is the call graph for this function:

BOOST_AUTO_TEST_CASE ( core_scalar   ) 

Definition at line 225 of file FeatureVectorTest.cpp.

BOOST_AUTO_TEST_CASE ( core_arith   ) 

Definition at line 150 of file FeatureVectorTest.cpp.

BOOST_AUTO_TEST_CASE ( core   ) 

Definition at line 134 of file FeatureVectorTest.cpp.

References Moses::FVector::size().

Here is the call graph for this function:

BOOST_AUTO_TEST_CASE ( vector_mult   ) 

Definition at line 107 of file FeatureVectorTest.cpp.

BOOST_AUTO_TEST_CASE ( inc   ) 

Definition at line 90 of file FeatureVectorTest.cpp.

BOOST_AUTO_TEST_CASE ( scalar   ) 

Definition at line 60 of file FeatureVectorTest.cpp.

BOOST_AUTO_TEST_CASE ( vector_sum_diff   ) 

Definition at line 31 of file FeatureVectorTest.cpp.


Generated on Thu Jul 6 00:31:29 2017 for Moses by  doxygen 1.5.9