public static EdgeData Deserialize(uint[] data)
        {
            float  distance;
            ushort profile;

            EdgeDataSerializer.Deserialize(data[0], out distance, out profile);
            return(new EdgeData()
            {
                Profile = profile,
                Distance = distance
            });
        }
 public static uint[] Serialize(EdgeData data)
 {
     return(EdgeDataSerializer.Serialize(data.Distance, data.Profile));
 }