Minimac4
Loading...
Searching...
No Matches
unique_haplotype.hpp File Reference
#include "variant.hpp"
#include "recombination.hpp"
#include <savvy/reader.hpp>
#include <savvy/writer.hpp>
#include <cstdint>
#include <string>
#include <vector>
#include <deque>
#include <limits>
#include <cassert>
Include dependency graph for unique_haplotype.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  unique_haplotype_block
 Represents a block of unique haplotypes and their variants. More...
 
class  reduced_haplotypes
 Represents a collection of haplotype blocks with reduced storage. More...
 
class  reduced_haplotypes::iterator
 Iterator for traversing variants within reduced_haplotypes. More...
 

Functions

bool operator== (const reduced_haplotypes::iterator &lhs, const reduced_haplotypes::iterator &rhs)
 Compares two iterators for equality.
 
bool operator!= (const reduced_haplotypes::iterator &lhs, const reduced_haplotypes::iterator &rhs)
 Compares two iterators for inequality.
 

Function Documentation

◆ operator!=()

bool operator!= ( const reduced_haplotypes::iterator & lhs,
const reduced_haplotypes::iterator & rhs )
inline

Compares two iterators for inequality.

This is the negation of operator==.

Parameters
lhsLeft-hand side iterator.
rhsRight-hand side iterator.
Returns
True if iterators are not equal, false otherwise.

◆ operator==()

bool operator== ( const reduced_haplotypes::iterator & lhs,
const reduced_haplotypes::iterator & rhs )
inline

Compares two iterators for equality.

Two iterators are considered equal if they refer to the same block index and the same local index within that block.

Parameters
lhsLeft-hand side iterator.
rhsRight-hand side iterator.
Returns
True if iterators are equal, false otherwise.
Here is the call graph for this function: