<commit_before>// Creates the transmission line animations between sensors and servers
// @author <NAME>

YUI().add('wattdepot-transmission', function(Y) {
	Y.namespace("WattDepot");
  
	// Defines WattDepot transmission
	var Transmission = function(senLat, senLong, serLat, serLong) {
    
		// define private fields
		var edge, P; 
		
		//creates the line 
		edge = {
			serverLat : {
				def : 100
			},
			serverLong : {
				def : 100
			},
			sensorLat : {
				def : 400
			},
			sensorLong : {
				def : 400
			},
			bubbleLat : {
				def : 400
			},
			bubbleLong : {
				def : 400
			},
			isAnim : false		
		};
		edge.serverLat.val = serLat;
		edge.serverLong.val = serLong;
		edge.sensorLat.val = senLat;
		edge.sensorLong.val = senLong;
		edge.bubbleLat.val = edge.sensorLat.val;
		edge.bubbleLong.val = edge.sensorLong.val;
		<commit_msg>update Transmission with config parameter<commit_after>// Creates the transmission line animations between sensors and servers
// @author <NAME>

YUI().add('wattdepot-transmission', function(Y) {
	Y.namespace("WattDepot");
  
	// Defines WattDepot transmission
	var Transmission = function(senLat, senLong, serLat, serLong, processing, cnf) {
    
		// define private fields
		var edge, P; 
		
		//creates the line 
		edge = {
			serverLat : {
				def : 100
			},
			serverLong : {
				def : 100
			},
			sensorLat : {
				def : 400
			},
			sensorLong : {
				def : 400
			},
			bubbleLat : {
				def : 400
			},
			bubbleLong : {
				def : 400
			},
			isAnim : false		
		};
		edge.serverLat.val = serLat;
		edge.serverLong.val = serLong;
		edge.sensorLat.val = senLat;
		edge.sensorLong.val = senLong;
		edge.bubbleLat.val = edge.sensorLat.val;
		edge.bubbleLong.val = edge.sensorLong.val;
		
		// processing
		P = processing;
		
{'fraction_non_alphanumeric': 0.12121212121212122, 'fraction_numerical': 0.020202020202020204, 'mean_word_length': 2.5447316103379722, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '6023980', 'n_tokens_mistral': 780, 'n_tokens_neox': 610, 'n_words': 141}