libMems/DNAMemorySML.cpp

Go to the documentation of this file.
00001 /*******************************************************************************
00002  * $Id: DNAMemorySML.cpp,v 1.3 2004/03/01 02:40:08 darling Exp $
00003  * This file is copyright 2002-2007 Aaron Darling and authors listed in the AUTHORS file.
00004  * Please see the file called COPYING for licensing, copying, and modification
00005  * Please see the file called COPYING for licensing details.
00006  * **************
00007  ******************************************************************************/
00008 
00009 #ifdef HAVE_CONFIG_H
00010 #include "config.h"
00011 #endif
00012 
00013 #include "libGenome/gnSequence.h"
00014 #include "libMems/DNAMemorySML.h"
00015 
00016 using namespace std;
00017 using namespace genome;
00018 namespace mems {
00019 
00020 DNAMemorySML::DNAMemorySML(const uint8* table, const uint32 alpha_bits) : 
00021 MemorySML( table, alpha_bits )
00022 {}
00023 
00024 DNAMemorySML& DNAMemorySML::operator=(const DNAMemorySML& msa ){
00025         MemorySML::operator=(msa);
00026         return *this;
00027 }
00028 
00029 DNAMemorySML* DNAMemorySML::Clone() const{
00030         DNAMemorySML *bdsa = new DNAMemorySML();
00031         (*bdsa) = *this;
00032         return bdsa;
00033 }
00034 
00035 uint64 DNAMemorySML::GetMer(gnSeqI position) const{
00036         return GetDnaMer( position );
00037 }
00038 
00039 uint64 DNAMemorySML::GetSeedMer( gnSeqI offset ) const{
00040         return GetDnaSeedMer( offset );
00041 }
00042 
00043 void DNAMemorySML::FillSML(const gnSequence& seq, vector<bmer>& sml_array)
00044 {
00045         FillDnaSML(seq, sml_array);
00046 }
00047 
00048 } // namespace mems

Generated on Fri Mar 14 06:01:02 2008 for libMems by doxygen 1.3.6