I'm doing a job in Prolog and when trying to make a query it says there are "Singleton variables". For example, a part of the code:
s([Policia_X, Policia_Y, Ladrao_X, Ladrao_Y]) :- pode_andar_horizontal([Policia_X, Policia_Y]).
Returns the error:
Warning: c: /users/leila/desktop/2018.2/ia/ia/trab1.pl: 35: Singleton variables: [Ladrao_X, Ladrao_Y]
What does this mean?