Since $v(t) = v_0 + \int_0^t a(\tau) d \tau$, we have $x(t)-x_0 = \int_0^t v(\tau) d \tau = v_0 t + \int_0^t \int_0^\tau a(s) ds d \tau$.
Then the equivalent constant acceleration $a_\text{eff}$ that would produce the same change of position is given by solving $\int_0^t \int_0^\tau a_\text{eff}\, ds d \tau = {1 \over 2} a_\text{eff} t^2 = \int_0^t \int_0^\tau a(s) ds d \tau$.
Assuming that $a$ is integrable, we have $\int_0^t \int_0^\tau a(s) ds d \tau= \int_0^t \int_s^t a(s) d \tau ds = \int_0^t (t-s)a(s) ds $, so we see that $a_\text{eff} = { \int_0^t (t-s)a(s) ds \over \int_0^t (t-s) ds} $ and we can interpret $a_\text{eff}$ as a weighted average of some sort.