File tree 2 files changed +32
-1
lines changed
2 files changed +32
-1
lines changed Original file line number Diff line number Diff line change @@ -5,4 +5,5 @@ pkginclude_HEADERS= node.hpp \
5
5
site.hpp \
6
6
mutation_record.hpp \
7
7
generate_null_id.hpp \
8
- table_collection.hpp
8
+ table_collection.hpp \
9
+ tree_sequence.hpp
Original file line number Diff line number Diff line change
1
+ #pragma once
2
+
3
+ #include < cstdint>
4
+ #include < memory>
5
+ #include < vector>
6
+ #include " table_collection.hpp"
7
+
8
+ namespace fwdpp
9
+ {
10
+ namespace ts
11
+ {
12
+ namespace types
13
+ {
14
+ template <typename SignedInteger> class tree_sequence
15
+ {
16
+ private:
17
+ std::shared_ptr<const types::table_collection<SignedInteger>> tables_;
18
+ std::vector<SignedInteger> samples_;
19
+ std::size_t num_trees_;
20
+
21
+ public:
22
+ tree_sequence (
23
+ std::shared_ptr<types::table_collection<SignedInteger>> tables)
24
+ : tables_{std::move (tables)}
25
+ {
26
+ }
27
+ };
28
+ }
29
+ }
30
+ }
You can’t perform that action at this time.
0 commit comments