public static void GetStateAndAction(int i, int j, int k, int l, out CarNavigationState state, out CarNavigationAction action)
 {
     GetState(j, k, l, out state);
     GetAction(i, out action);
 }
 public static void GetIndices(CarNavigationState state, CarNavigationAction action, out int i, out int j, out int k, out int l)
 {
     GetStateIndices(state, out j, out k, out l);
     GetActionIndices(action, out i);
 }
 public static void GetActionIndices(CarNavigationAction action, out int i)
 {
     i = (int)ComMath.NormalLim(action.ang, -MAXABSANG, MAXABSANG, 0, LENACTION - 1);            
 }
 public static void GetAction(int i, out CarNavigationAction action)
 {
     double ang = ComMath.Normal(i, 0, LENACTION - 1, -MAXABSANG, MAXABSANG);
     action = new CarNavigationAction(ang);
 }