Research Article

Hamiltonian Neural Network 6-DoF Rigid-Body Dynamic Modeling Based on Energy Variation Estimation

Algorithm 2

VHNN backward inference.
Require:, , ,
Ensure:
(1) init
(2)for in do
(3)  , and output and .
(4)  Input , and output .
(5)  Input , and output .
(6)  Calculate the next state of the missile , using formula (14) and (15)
(7)  Input , and output .
(8)  add to
(9)end for
   return, , ,