<commit_before>package fi.cosky.sdk;

/*
 * This file is subject to the terms and conditions defined in
 * file 'LICENSE.txt', which is part of this source code package.
 */

public class RoutingProblemSettingsUpdateRequest {
	public static final String MimeType = RoutingProblemSettingsData.MimeType;
	public static final double MimeVersion = RoutingProblemSettingsData.MimeVersion;
		
	private double DefaultVehicleSpeedFactor;
	private SpeedProfile DefaultVehicleSpeedProfile;
	private double InsertionAggressiveness;
	private String AlgorithmTree;
	private String DateTimeFormatString;
	
	public double getDefaultVehicleSpeedFactor() {
		return DefaultVehicleSpeedFactor;
	}
	
	public void setDefaultVehicleSpeedFactor(double defaultVehicleSpeedFactor) {
		DefaultVehicleSpeedFactor = defaultVehicleSpeedFactor;
	}
	
	public SpeedProfile getDefaultVehicleSpeedProfile() {
		return DefaultVehicleSpeedProfile;
	}
	
	public void setDefaultVehicleSpeedProfile(SpeedProfile defaultVehicleSpeedProfile) {
		DefaultVehicleSpeedProfile = defaultVehicleSpeedProfile;
	}
	
	public double getInsertionAggressiveness() {
		return InsertionAggressiveness;
	}
	
	public void setInsertionAggressiveness(double insertionAggressiveness) {
		InsertionAggressiveness = insertionAggressiveness;
	}
	
	public String getAlgorithmTree() {<commit_msg>Created a default constructor for routingproblemsettingsupdaterequest. Values set in constructor reflect good default values for settings.<commit_after>package fi.cosky.sdk;

/*
 * This file is subject to the terms and conditions defined in
 * file 'LICENSE.txt', which is part of this source code package.
 */

public class RoutingProblemSettingsUpdateRequest {
	public static final String MimeType = RoutingProblemSettingsData.MimeType;
	public static final double MimeVersion = RoutingProblemSettingsData.MimeVersion;
		
	private double DefaultVehicleSpeedFactor;
	private SpeedProfile DefaultVehicleSpeedProfile;
	private double InsertionAggressiveness;
	private String AlgorithmTree;
	private String DateTimeFormatString;
	
	/**
	 * Default constructor with good values for settings. These
	 * are also the ones that NFleet uses when settings
	 * are not specified 
	 */
	public RoutingProblemSettingsUpdateRequest() {
		this.DefaultVehicleSpeedFactor = 0.9;
		this.DefaultVehicleSpeedProfile = SpeedProfile.Max100Kmh;
		this.InsertionAggressiveness = 1;
	}
	
	public double getDefaultVehicleSpeedFactor() {
		return DefaultVehicleSpeedFactor;
	}
	
	public void setDefaultVehicleSpeedFactor(double defaultVehicleSpeedFactor) {
		DefaultVehicleSpeedFactor = defaultVehicleSpeedFactor;
	}
	
	public SpeedProfile getDefaultVehicleSpeedProfile() {
		return DefaultVehicleSpeedProfile;
	}
	
	public void setDefaultVehicleSpeedProfile(SpeedProfile defaultVehicleSpeedProfile) {
		DefaultVehicleSpeedProfile = defaultVehicleSpeedProfile;
	}
	
	public double getInsertionAggressiveness() {
		return InsertionAggressiveness;
	}
	
	public void setInsertionAggressiveness(double insertionAggressiveness) {
		InsertionAggressiveness = insertionAggressiveness;
	}
	
	public String getAlgorithmTree() {
{'fraction_non_alphanumeric': 0.04992, 'fraction_numerical': 0.00192, 'mean_word_length': 6.269767441860465, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6609453', 'n_tokens_mistral': 882, 'n_tokens_neox': 819, 'n_words': 221}