Priority map should be defined to have values of type double.