Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
micros-uav committed Aug 19, 2023
1 parent 692c27e commit d76d93f
Show file tree
Hide file tree
Showing 15 changed files with 64 additions and 295 deletions.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
activate_save_states = 0.000000000000;
time_interval_save = 1.000000000000;
motion_model_type = 0.000000000000;
swarm_algorithm_type = ['V', 'a', 's', 'a', 'r', 'h', 'e', 'l', 'y', 'i'];
evaluation_metric_type = ['e', 'v', 'a', 'l', 'u', 'a', 't', 'i', 'o', 'n', '_', '0'];
swarm_algorithm_type = ['u', 's', 'e', 'r', '_', 's', 'w', 'a', 'r', 'm'];
evaluation_metric_type = ['u', 's', 'e', 'r', '_', 'e', 'v', 'a', 'l', 'u', 'a', 't', 'i', 'o', 'n'];


end

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,12 @@
% get parameters by user_evaluation_module_parameters()

% The following operations are for multi-core parallel computing.
file_name_param = 'user_evaluation_module_parameters';
[~,str_core] = get_multi_core_value();
fun_params = str2func([file_name_param, str_core]);
persistent fun_params
if isempty(fun_params)
file_name_param = 'user_evaluation_module_parameters';
[~,str_core] = get_multi_core_value();
fun_params = str2func(strcat(file_name_param,str_core));
end
[v_flock] = fun_params();

%
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,12 @@
% get parameters by user_evaluation_module_parameters()

% The following operations are for multi-core parallel computing.
file_name_param = 'user_evaluation_module_parameters';
[~,str_core] = get_multi_core_value();
fun_params = str2func([file_name_param, str_core]);
persistent fun_params
if isempty(fun_params)
file_name_param = 'user_evaluation_module_parameters';
[~,str_core] = get_multi_core_value();
fun_params = str2func([file_name_param,str_core]);
end
[v_flock] = fun_params();

%
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,12 @@
% get parameters by user_swarm_module_parameters()

% The following operations are for multi-core parallel computing.
file_name_param = 'user_swarm_module_parameters';
[~,str_core] = get_multi_core_value();
fun_params = str2func([file_name_param, str_core]);
persistent fun_params
if isempty(fun_params)
file_name_param = 'user_swarm_module_parameters';
[~,str_core] = get_multi_core_value();
fun_params = str2func([file_name_param,str_core]);
end

[r_com] = fun_params();

Expand Down
Loading

0 comments on commit d76d93f

Please sign in to comment.