output publications or other works A general input distance function based on opportunity costs Conference Paper