SDSL 3.0.1
Succinct Data Structure Library
Loading...
Searching...
No Matches
sdsl::bp_interval< t_int > Struct Template Reference

#include <cst_sct3.hpp>

Public Member Functions

 bp_interval (t_int i=0, t_int j=0, t_int ipos=0, t_int cipos=0, t_int jp1pos=0)
 Constructor. More...
 
 bp_interval (const bp_interval &iv)=default
 Copy constructor. More...
 
 bp_interval (bp_interval &&iv)=default
 Move copy constructor. More...
 
bool operator< (const bp_interval &interval) const
 
bool operator== (const bp_interval &interval) const
 Equality operator. More...
 
bool operator!= (const bp_interval &interval) const
 Inequality operator. More...
 
bp_intervaloperator= (const bp_interval &interval)=default
 Assignment operator. More...
 
bp_intervaloperator= (bp_interval &&interval)=default
 Move assignment. More...
 

Public Attributes

t_int i
 The left border of the lcp-interval $\ell-[left..right]$. More...
 
t_int j
 The right border of the lcp-interval $\ell-[left..right]$. More...
 
t_int ipos
 
t_int cipos
 
t_int jp1pos
 

Detailed Description

template<class t_int>
struct sdsl::bp_interval< t_int >

Definition at line 1285 of file cst_sct3.hpp.

Constructor & Destructor Documentation

◆ bp_interval() [1/3]

template<class t_int >
sdsl::bp_interval< t_int >::bp_interval ( t_int  i = 0,
t_int  j = 0,
t_int  ipos = 0,
t_int  cipos = 0,
t_int  jp1pos = 0 
)
inline

Constructor.

Definition at line 1295 of file cst_sct3.hpp.

◆ bp_interval() [2/3]

template<class t_int >
sdsl::bp_interval< t_int >::bp_interval ( const bp_interval< t_int > &  iv)
default

Copy constructor.

◆ bp_interval() [3/3]

template<class t_int >
sdsl::bp_interval< t_int >::bp_interval ( bp_interval< t_int > &&  iv)
default

Move copy constructor.

Member Function Documentation

◆ operator!=()

template<class t_int >
bool sdsl::bp_interval< t_int >::operator!= ( const bp_interval< t_int > &  interval) const
inline

Inequality operator.

Two lcp-intervals are not equal if and only if not all their corresponding member variables have the same values.

Definition at line 1322 of file cst_sct3.hpp.

◆ operator<()

template<class t_int >
bool sdsl::bp_interval< t_int >::operator< ( const bp_interval< t_int > &  interval) const
inline

Definition at line 1307 of file cst_sct3.hpp.

◆ operator=() [1/2]

template<class t_int >
bp_interval & sdsl::bp_interval< t_int >::operator= ( bp_interval< t_int > &&  interval)
default

Move assignment.

◆ operator=() [2/2]

template<class t_int >
bp_interval & sdsl::bp_interval< t_int >::operator= ( const bp_interval< t_int > &  interval)
default

Assignment operator.

◆ operator==()

template<class t_int >
bool sdsl::bp_interval< t_int >::operator== ( const bp_interval< t_int > &  interval) const
inline

Equality operator.

Two lcp-intervals are equal if and only if all their corresponding member variables have the same values.

Definition at line 1316 of file cst_sct3.hpp.

Member Data Documentation

◆ cipos

template<class t_int >
t_int sdsl::bp_interval< t_int >::cipos

Definition at line 1290 of file cst_sct3.hpp.

◆ i

template<class t_int >
t_int sdsl::bp_interval< t_int >::i

The left border of the lcp-interval $\ell-[left..right]$.

Definition at line 1287 of file cst_sct3.hpp.

◆ ipos

template<class t_int >
t_int sdsl::bp_interval< t_int >::ipos

Definition at line 1289 of file cst_sct3.hpp.

◆ j

template<class t_int >
t_int sdsl::bp_interval< t_int >::j

The right border of the lcp-interval $\ell-[left..right]$.

Definition at line 1288 of file cst_sct3.hpp.

◆ jp1pos

template<class t_int >
t_int sdsl::bp_interval< t_int >::jp1pos

Definition at line 1292 of file cst_sct3.hpp.


The documentation for this struct was generated from the following file: