ed : modification of the calculation function is_odt
for journeypattern object