biogeme.catalog.generic_alt_specific_catalog module

Defines a catalog containing generic and alternative specific specifications

Michel Bierlaire Sun Apr 27 2025, 15:49:25

biogeme.catalog.generic_alt_specific_catalog.generic_alt_specific_catalogs(generic_name, beta_parameters, alternatives, potential_segmentations=None, maximum_number=5)[source]

Generate catalogs selecting generic or alternative specific coefficients

Parameters:
  • generic_name (str) – name associated with all the parameters in the catalog

  • beta_parameters (list(biogeme.expressions.Beta)) – coefficients of interest

  • alternatives (tuple(str)) – names of the alternatives

  • potential_segmentations (tuple(biogeme.segmentation.DiscreteSegmentationTuple)) – tuple of potential segmentations, or None

  • maximum_number (int) – maximum number of segmentations to consider

Returns:

a list of catalogs for each alternative

Return type:

list(dict(str: biogeme.catalog.Catalog))