renamed some things

This commit is contained in:
Davis King 2011-12-03 18:25:20 -05:00
parent 8a7fb193d0
commit 82230b59b6
3 changed files with 11 additions and 11 deletions

View File

@ -20,11 +20,11 @@ namespace dlib
{
public:
typedef typename feature_extractor::lhs_type lhs_type;
typedef typename feature_extractor::rhs_type rhs_type;
typedef typename feature_extractor::lhs_element lhs_element;
typedef typename feature_extractor::rhs_element rhs_element;
typedef std::pair<std::vector<lhs_type>, std::vector<rhs_type> > sample_type;
typedef std::pair<std::vector<lhs_element>, std::vector<rhs_element> > sample_type;
typedef std::vector<long> label_type;
typedef label_type result_type;
@ -100,8 +100,8 @@ namespace dlib
) const { return force_assignment; }
result_type operator()(
const std::vector<lhs_type>& lhs,
const std::vector<rhs_type>& rhs
const std::vector<lhs_element>& lhs,
const std::vector<rhs_element>& rhs
) const
/*!
ensures

View File

@ -20,10 +20,10 @@ namespace dlib
class structural_assignment_trainer
{
public:
typedef typename feature_extractor::lhs_type lhs_type;
typedef typename feature_extractor::rhs_type rhs_type;
typedef typename feature_extractor::lhs_element lhs_element;
typedef typename feature_extractor::rhs_element rhs_element;
typedef std::pair<std::vector<lhs_type>, std::vector<rhs_type> > sample_type;
typedef std::pair<std::vector<lhs_element>, std::vector<rhs_element> > sample_type;
typedef std::vector<long> label_type;

View File

@ -25,11 +25,11 @@ namespace dlib
typedef matrix<double,0,1> matrix_type;
typedef typename feature_extractor::feature_vector_type feature_vector_type;
typedef typename feature_extractor::lhs_type lhs_type;
typedef typename feature_extractor::rhs_type rhs_type;
typedef typename feature_extractor::lhs_element lhs_element;
typedef typename feature_extractor::rhs_element rhs_element;
typedef std::pair<std::vector<lhs_type>, std::vector<rhs_type> > sample_type;
typedef std::pair<std::vector<lhs_element>, std::vector<rhs_element> > sample_type;
typedef std::vector<long> label_type;