Etterna 0.74.4
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
CJ_OHAnchor_Sequencer Struct Reference

#include <CJOHASequencing.h>

Public Member Functions

void zero ()
 
void reset_seq ()
 
void reset_max_seq ()
 
void update_max_seq ()
 
void complete_seq ()
 to reset the current chain and continue a new one
 
void chain_swap ()
 
void swap_failed ()
 
void operator() (const col_type &ct, const base_type &bt, const col_type &last_ct, const float &any_ms)
 
int get_max_total_len ()
 
int get_max_anchor_len ()
 
int get_max_chain_swaps ()
 
int get_max_not_swaps ()
 

Public Attributes

int chain_swaps = 0
 
int not_swaps = 0
 
int cur_len = 0
 
int cur_anchor_len = 0
 
bool chain_swapping = false
 
int max_chain_swaps = 0
 
int max_not_swaps = 0
 
int max_total_len = 0
 
int max_anchor_len = 0
 
col_type anchor_col = col_init
 
float last_ms = ms_init
 

Detailed Description

Looks for anchors and chains. this:

01 01 11 10 10 11 01 01 ...

or 01 11 11 10 ...

special case: also this (not a chain!) 01 11 11 01 ...

Member Function Documentation

◆ chain_swap()

void CJ_OHAnchor_Sequencer::chain_swap ( )
inline

execute a chain swap. set longest anchor size, etc base pattern required for successful chain swap: 01 11 10

◆ swap_failed()

void CJ_OHAnchor_Sequencer::swap_failed ( )
inline

technically difficult repeat anchor-jumps base pattern: 01 11 01


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