def run_cdap(
        people, hh_id_col, p_type_col, one_spec, two_spec, three_spec,
        final_rules, all_people):
    ind_utils = individual_utilities(
        people, hh_id_col, p_type_col, one_spec, two_spec, three_spec)
    hh_utils = initial_household_utilities(ind_utils, people, hh_id_col)
    apply_final_rules(hh_utils, people, hh_id_col, final_rules)
    apply_all_people(hh_utils, all_people)
    hh_choices = make_household_choices(hh_utils)
    return household_choices_to_people(hh_choices, people)
Choose individual activity patterns for people.
dataset/ETHPy150Open UDST/activitysim/activitysim/cdap/cdap.py/run_cdap