I do not understand the following Prolog fragment? What does ":_:" mean? What is the difference between ":=" and "=" ?
game_to_problematic_points(Game,Pid,Hid) :- Point := Game/point, Pid := Point@id , Point = point:_:Hits. append(_, [Hit1,_|_], Hits), hit_out(Hit1), Hid := Hit1@id. hit_out(Hit) :- X := Hit@x , Y := Hit@y , ( X > 23.77 / 2 ; X < -23.77 / 2 ; Y > 10.97 / 2 ; Y < -10.97 / 2).
Thanks:)
Cykon source share