Efficient Exploration and Value Function Generalization in Deterministic Systems