23#ifndef GAP_AND_VALLEY_H
24#define GAP_AND_VALLEY_H
28extern int getIndex(
int circularIdx,
int max );
29extern int sign(
double num );
30extern int getSectorsBetween(
int iS1,
int iS2,
int iSMax );
31extern int getSectorsBetweenDirected(
int iS1,
int iS2,
int iSMax,
int iDirection );
43 Gap(
int iSector,
double dist,
int iDir );
47 void Update(
int iNewSector,
double newDist );
48 void Update(
int iNewSector,
double newDist,
int iNewDir );
62 Valley(
Gap* risingGap,
Gap* otherGap,
int risingToOther );
65 void overwrite(
Gap* risingGap,
Gap* otherGap,
int risingToOther );
67 int getValleyWidth( std::vector<double> fullLP );
69 bool isSectorInValley(
int iSector,
int iSMax );
Definition gap_and_valley.h:34
Definition gap_and_valley.h:55