public void add ( int dimension , float value ) { if ( this . map . containsKey ( dimension ) ) this . map . put ( dimension , this . map . get ( dimension ) + value ) ; else this . map . put ( dimension , value ) ; }
Add a given reward value on a specified dimension .