Ignore:
Timestamp:
Oct 11, 2006, 7:49:03 PM (16 years ago)
Author:
Jari Häkkinen
Message:

Addresses #153. Introduced yat namespace. Removed alignment namespace. Clean up of code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/alignment_test.cc

    r675 r680  
    3636#include <vector>
    3737
    38 using namespace theplu;
     38using namespace theplu::yat;
    3939
    4040void read_vector(std::vector<double>& v,std::string& str)
     
    7575             const std::vector<double>& l2,
    7676             const double sigma,
    77              theplu::utility::matrix& dot_matrix,
     77             theplu::yat::utility::matrix& dot_matrix,
    7878             std::vector<std::pair<size_t,size_t> >& path)
    7979{
    80   dot_matrix  = theplu::utility::matrix(l1.size(),l2.size());
     80  dot_matrix  = theplu::yat::utility::matrix(l1.size(),l2.size());
    8181  for (size_t i=0; i<l1.size(); i++)
    8282    for (size_t j=0; j<l2.size(); j++) {
     
    8585      dot_matrix(i,j)=match(l1[i],l2[j],sigma);
    8686    }
    87   return theplu::utility::alignment::NeedlemanWunsch(dot_matrix,path,0);
     87  return theplu::yat::utility::NeedlemanWunsch(dot_matrix,path,0);
    8888}
    8989
Note: See TracChangeset for help on using the changeset viewer.