Generalized constructive model of hysteresis