group_member,
location_set,
agents_grouping_attribute = 'job.building_type',
sampler = "opus_core.samplers.weighted_sampler",
utilities = "opus_core.linear_utilities",
choices = "opus_core.random_choices",
probabilities = "opus_core.mnl_probabilities",
estimation = "opus_core.bhhh_mnl_estimation",
capacity_string = "vacant_SSS_job_space",
estimation_weight_string = "total_number_of_possible_SSS_jobs",
number_of_agents_string = "number_of_SSS_jobs",
number_of_units_string = "total_number_of_possible_SSS_jobs",
sample_proportion_locations = None,
sample_size_locations = 30,
estimation_size_agents = 1.0,
compute_capacity_flag = True,
correct_sampling_bias = False,
filter = None,
submodel_string = "sector_id",
location_id_string = None,
demand_string = None,
run_config = None,
estimate_config=None,
debuglevel=0,
dataset_pool=None):
The initialization procedure replaces any occurence of the string 'SSS' in 'capacity_string', 'estimation_weight_string', 'number_of_agents_string', 'number_of_units_string', and 'demand_string' by the name of the group member. Then it places the arguments appropriately into 'run_config' and 'estimate_config' and calls its parent's constructor.