-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGraph_plot_variables.py
More file actions
38 lines (37 loc) · 2.58 KB
/
Graph_plot_variables.py
File metadata and controls
38 lines (37 loc) · 2.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
class Graph_plot_variables:
def __init__(self, textbox_x, textbox_y, textbox_sensing_radius, textbox_simulation_run, textbox_number_of_sensors, deployment_variable, sensor_density, subplot, canvas, figure, number_of_sensor_for_both, adding_self, paths, value_from_range, value_to_range, change_value_from_range, change_value_to_range, total_number_of_faults, round_of_voting, agreement_reached, type_of_voting_algorithm, value_diameter, convergence_rate, number_of_asymmetric_fault, asymmetric_fault_value_from, asymmetric_fault_value_to, number_of_symmetric_fault, symmetric_fault_value_from, symmetric_fault_value_to, number_of_benign_fault, benign_fault_value_from, benign_fault_value_to, no_of_times_fault_tolerant_condition_fails):
self.textbox_x = textbox_x
self.textbox_y = textbox_y
self.textbox_sensing_radius = textbox_sensing_radius
self.textbox_simulation_run = textbox_simulation_run
self.textbox_number_of_sensors = textbox_number_of_sensors
self.deployment_variable = deployment_variable
self.sensor_density = sensor_density
self.subplot = subplot
self.canvas = canvas
self.figure = figure
self.number_of_sensor_for_both = number_of_sensor_for_both
self.adding_self = adding_self
self.paths = paths
self.value_from_range = value_from_range
self.value_to_range = value_to_range
self.change_value_from_range = change_value_from_range
self.change_value_to_range = change_value_to_range
self.total_number_of_faults = total_number_of_faults
# self.fault_value_from = fault_value_from
# self.fault_value_to = fault_value_to
self.round_of_voting = round_of_voting
self.agreement_reached = agreement_reached
self.type_of_voting_algorithm = type_of_voting_algorithm
self.value_diameter = value_diameter
self.convergence_rate = convergence_rate
self.number_of_asymmetric_fault = number_of_asymmetric_fault
self.asymmetric_fault_value_from = asymmetric_fault_value_from
self.asymmetric_fault_value_to = asymmetric_fault_value_to
self.number_of_symmetric_fault = number_of_symmetric_fault
self.symmetric_fault_value_from = symmetric_fault_value_from
self.symmetric_fault_value_to = symmetric_fault_value_to
self.number_of_benign_fault = number_of_benign_fault
self.benign_fault_value_from = benign_fault_value_from
self.benign_fault_value_to = benign_fault_value_to
self.no_of_times_fault_tolerant_condition_fails = no_of_times_fault_tolerant_condition_fails