Online Non-Additive Path Learning under Full and Partial Information