src/UCRDTW_kNN_serial.cpp
/// Get the value at the current position of the circular queue
Get the value at the current position of the circular queue
Get the value at the current position of the circular queue
int front(struct circular_array * d)
{
    int aux = d->f - 1;
    if (aux < 0)
        aux = d->capacity - 1;
    return d->dq[aux];
}
int front ( struct circular_array * d ) { int aux = d -> f - 1 ; if ( aux < 0 ) aux = d -> capacity - 1 ; return d -> dq [ aux ] ; }
Get the value at the current position of the circular queue
Get the value at the current position of the circular queue