Bernanke succeeds Alan Greenspan and is expected to continue his fight to contain inflation .