A Universal Approach to Feature Representation in Dynamic Task Assignment Problems