This commit is contained in:
2024-06-03 14:41:00 -05:00
parent 9cb9e6e968
commit 58419fd545
10 changed files with 40 additions and 21 deletions

View File

@@ -38,7 +38,6 @@
#ifndef DTL_LCS_H
#define DTL_LCS_H
#include "dtl/variables.hpp"
#include "dtl/Sequence.hpp"
namespace dtl {

View File

@@ -38,8 +38,9 @@
#ifndef DTL_SEQUENCE_H
#define DTL_SEQUENCE_H
namespace dtl {
#include <vector>
namespace dtl {
/**
* sequence class template
*/

View File

@@ -38,6 +38,9 @@
#ifndef DTL_SES_H
#define DTL_SES_H
#include <utility>
#include <vector>
#include "dtl/variables.hpp"
#include "dtl/Sequence.hpp"
@@ -48,7 +51,7 @@ namespace dtl {
*/
template <typename elem> class Ses : public Sequence<elem> {
private:
typedef pair<elem, elemInfo> sesElem;
typedef std::pair<elem, elemInfo> sesElem;
typedef std::vector<sesElem> sesElemVec;
public:

View File

@@ -36,24 +36,6 @@
#ifndef DTL_H
#define DTL_H
#include <algorithm>
#include <cassert>
#include <cstdio>
#include <fstream>
#include <iostream>
#include <list>
#include <sstream>
#include <string>
#include <vector>
#include <fcntl.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <time.h>
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif // HAVE_UNISTD_H
#include "dtl/Diff.hpp"
#include "dtl/Diff3.hpp"
#include "dtl/Lcs.hpp"

View File

@@ -38,6 +38,8 @@
#ifndef DTL_FUNCTORS_H
#define DTL_FUNCTORS_H
#include <iostream>
#include "dtl/variables.hpp"
namespace dtl {

View File

@@ -38,6 +38,12 @@
#ifndef DTL_VARIABLES_H
#define DTL_VARIABLES_H
#include <algorithm>
#include <iostream>
#include <list>
#include <string>
#include <vector>
namespace dtl {
using std::cout;