This is a C++ helper function for util_PfSIHistory

util_PfSIoneHistory(historyIxH, timeBins, timeSeries)

Arguments

historyIxH

a single human history from Human$get_History()

timeBins

vector of time bins (state transition times)

timeSeries

matrix of occupancy vectors