public Presenter() { _views = new List <IViewWithTrackCollection>(); _trackCollection = new TrackCollection(); _dataExtractionEngine = new AudioDataExtractionProxy(); _sortProfile = new BasicProfile(); _sortAlgorithm = new SimulatedAnnealingSortAlgorithm(new SimpleTracksDistance(_sortProfile)); }
public void UpdateSortAlgorithm(IProfileDistance profileChosen) { _sortProfile = profileChosen; _sortAlgorithm = new SimulatedAnnealingSortAlgorithm(new SimpleTracksDistance(profileChosen)); }