public double getExpectationAt ( int index ) { if ( index < 0 || index >= expectations . getObservationCount ( ) ) throw new IndexOutOfBoundsException ( ) ; return expectations . getValueAt ( index ) ; }
Returns the expectation for a certain insertion step specified by the given index .