A C++ class to calculate the transit choice probability at a stop