Algebraic description of one-dimensional atom-molecule collisions