src/UCRDTW_kNN_serial.cpp
/// Get the value at the last position of the circular queueint back(struct circular_array *d)
Get the value at the last position of the circular queueint back(struct circular_array *d)
Get the value at the last position of the circular queueint back ( struct circular_array * d )
int back(struct circular_array * d)
{
    int aux = (d->r + 1) % d->capacity;
    return d->dq[aux];
}
int back ( struct circular_array * d ) { int aux = ( d -> r + 1 ) % d -> capacity ; return d -> dq [ aux ] ; }
Get the value at the last position of the circular queueint back(struct circular_array *d)
Get the value at the last position of the circular queueint back ( struct circular_array * d )