Input: {A1,⋯,An}, X, T, θ, α