Applications of artificial intelligence techniques to a spacecraft control problem