

package com.graphhopper.routing.ev;

import com.graphhopper.routing.util.EncodingManager;

public class VehiclePriority {

    public static String key(String name) {
        return EncodingManager.getKey(name, "priority");
    }

    public static DecimalEncodedValue create(String name, int speedBits, double speedFactor, boolean storeTwoDirections) {
        return new DecimalEncodedValueImpl(key(name), speedBits, speedFactor, storeTwoDirections);
    }
}
