Robot programming by demonstration-selecting optimal event paths | IEEE Conference Publication | IEEE Xplore