Commit 0743d8c0 authored by Bentriou Mahmoud's avatar Bentriou Mahmoud

add of a new error function for period automaton

parent 52bdf469
......@@ -8,6 +8,9 @@
@everywhere mean_error(mean_tp::Float64, var_tp::Float64, ref_mean_tp::Float64, ref_var_tp::Float64) =
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)
# 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