Approximate Dynamic Programming Applied to UAV Perimeter Patrol