generate Neighbor
Generates a neighboring point based on the current point represented by the input map. This method determines the next potential point in the iterative process, either through a neighbor generator or by randomizing the value of a randomly selected input variable. Unless a neighborhood generator is supplied, the resulting point will be input-range feasible. Thus, it may be infeasible with respect to deterministic constraints. If a neighborhood generator is not supplied, the approach is to randomly select one of the coordinates (inputs) and then randomly generating an input-range feasible value for the selected input.
Return
an instance of InputMap representing the newly generated neighboring point.
Parameters
the current point represented as an instance of InputMap
an instance of RNStreamIfc used for generating random values if no neighbor generator is provided