Multiplier-less approach in the neural network trigger algorithm for a detection of cosmic rays