Basis Exchange Characterization of Valuated Matroids