For the particulat purpose of generating series of inter-event intervals, it may be computationally better to exchange two adjacent intervals only, since in that case only one event time changes.
randomize_cost_cool_random [-X xfile] [general options] [cost function options] [cooling options] file
-X xfile file containing list of indices excluded from permutationAt each annealing step, one pair of values is exchanged. Here, two disjoint indices are selected at random. It is possible to specify a list of indices which shall be excluded from permutations. This can be useful if the data has artefacts (e.g. zeroed gaps) and if the boundary points are to be kept fixed. The file xfile is expected to contain one (integer) index per line.
randomize_cost_cool_event [general options] [cost function options] [cooling options] file
At each annealing step, one adjacent pair of inter-event intervals is exchanged. That is, one event time selected at random is changed. Note that the first and last events are always ket fixed.