Commit cff9afa6 authored by Bentriou Mahmoud's avatar Bentriou Mahmoud
Browse files

new error function for period automaton

parent 0743d8c0
......@@ -11,6 +11,9 @@ abs(mean_tp - ref_mean_tp)
@everywhere min_mean_var_relative_error(mean_tp::Float64, var_tp::Float64, ref_mean_tp::Float64, ref_var_tp::Float64) =
min(abs((mean_tp - ref_mean_tp)/ref_mean_tp), sqrt(var_tp)/ref_mean_tp)
@everywhere max_mean_var_relative_error(mean_tp::Float64, var_tp::Float64, ref_mean_tp::Float64, ref_var_tp::Float64) =
max(abs((mean_tp - ref_mean_tp)/ref_mean_tp), sqrt(var_tp)/ref_mean_tp)
# Creation of the automaton types
#@everywhere @eval abstract type EdgePeriodAutomaton <: Edge end
@everywhere struct EdgePeriodAutomaton <: Edge
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment