%%%%%%%%%      Initial Situation       %%%%%%%%%%
%%%%%%%%% FAULTS and OTHER EXCEPTIONS  %%%%%%%%%%
stuck(lm3,closed).
stuck(li345a,closed).
has_leak(ffi345).
h(in_state(ffi345,open),0).
has_leak(fohb).
h(in_state(fohb,open),0).
has_leak(fom2).
h(in_state(fom2,open),0).
stuck(lox12,closed).
has_leak(lom4).
h(in_state(lom4,open),0).
has_leak(roi12).
h(in_state(roi12,open),0).
stuck_at(fmc2_w41,fmc2_g4,1).
stuck_at(fmc1_w4,fmc1_g1,0).
stuck_at(fmc3_w60,fmc3_g2,0).
stuck_at(fmc3_w42,fmc3_g8,1).
stuck_at(fmc1_w38,fmc1_g10,0).
%%%%%%%%%%%%     GOALS     %%%%%%%%%%%%%

% Maneuver to be performed: minus_x
goal(T,fwd_rcs) :- time(T),
                   h(maneuver_of(minus_x,fwd_rcs),T).

goal(T,left_rcs) :- time(T),
                   h(maneuver_of(minus_x,left_rcs),T).

goal(T,right_rcs) :- time(T),
                   h(maneuver_of(minus_x,right_rcs),T).

