-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Count segment minimisers in parallel
- Loading branch information
Showing
3 changed files
with
107 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#pragma once | ||
|
||
#include <memory> | ||
#include <valik/split/metadata.hpp> | ||
|
||
namespace valik | ||
{ | ||
|
||
template <typename sequence_t> | ||
struct shared_reference_record | ||
{ | ||
std::shared_ptr<sequence_t> underlying_sequence; | ||
metadata::segment_stats segment; | ||
|
||
shared_reference_record(std::shared_ptr<sequence_t> const & seq_ptr, metadata::segment_stats && seg) : | ||
underlying_sequence(seq_ptr), segment(seg) { } | ||
}; | ||
|
||
} // namespace valik |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters