question: public void increment ( int position , double weight ) { leftLabelWeights [ position ] += weight ; rightLabelWeights [ position ] -= weight ; leftWeight += weight ; rightWeight -= weight ; }
target:  Increments the left label weights at the given position by the given weight and decrements the right label weights. Updates the sum of all left and right label weights respectively.