Algorithmic And Implementational Level Models Of Liking, Flexibility, And Adaptive Learning