当前位置: 首页>>代码示例>>Python>>正文


Python functions.attribute_label函数代码示例

本文整理汇总了Python中urbansim.functions.attribute_label函数的典型用法代码示例。如果您正苦于以下问题:Python attribute_label函数的具体用法?Python attribute_label怎么用?Python attribute_label使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了attribute_label函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。

示例1: dependencies

 def dependencies(self):
     return [
         my_attribute_label("household_id"),
         attribute_label("person", "work_nonhome_based"),
         "psrc.person.work_place_zone_id",
         attribute_label("person", "household_id"),
     ]
开发者ID:christianurich,项目名称:VIBe2UrbanSim,代码行数:7,代码来源:number_of_nonhome_based_workers_with_valid_work_place_zone_id.py

示例2: dependencies

 def dependencies(self):
     return [
         attribute_label("job", self.job_is_in_employment_sector_group),
         attribute_label("job", "job_id"),
         attribute_label("job", "grid_id"),
         my_attribute_label("grid_id"),
     ]
开发者ID:christianurich,项目名称:VIBe2UrbanSim,代码行数:7,代码来源:number_of_jobs_of_group_SSS.py

示例3: dependencies

 def dependencies(self):
     return [
         attribute_label("development_group", "group_id"),
         attribute_label("development_group", self.gr_name),
         my_attribute_label(self.development_type_id),
         attribute_label("development_type", "development_type_id"),
     ]
开发者ID:psrc,项目名称:urbansim,代码行数:7,代码来源:is_in_development_type_group_SSS.py

示例4: dependencies

 def dependencies(self):
     return [attribute_label("gridcell", self.gc_tfhtj_income_1),
             attribute_label("gridcell", self.gc_tfhtj_income_2),
             attribute_label("gridcell", self.gc_tfhtj_income_3),
             attribute_label("gridcell", self.gc_tfhtj_income_4),
             attribute_label("gridcell", 'grid_id'),
             attribute_label("household", self.hh_income_1),
             attribute_label("household", self.hh_income_2),
             attribute_label("household", self.hh_income_3),
             attribute_label("household", self.hh_income_4)
             ]
开发者ID:psrc,项目名称:urbansim,代码行数:11,代码来源:ln_access_from_residence_to_workplaces.py

示例5: dependencies

 def dependencies(self):
     return [
         "psrc.person.household_id",
         "psrc.person." + self.var_name,
         "psrc.person." + self.worker,
         attribute_label("household", "household_id"),
     ]
开发者ID:christianurich,项目名称:VIBe2UrbanSim,代码行数:7,代码来源:workerDDD_SSS.py

示例6: dependencies

 def dependencies(self):
     return [
         "psrc.person.household_id",
         "psrc.person." + self.county,
         "psrc.person." + self.worker,
         attribute_label("household", "household_id"),
         "psrc.household.has_" + self.worker,
     ]
开发者ID:psrc,项目名称:urbansim,代码行数:8,代码来源:is_workerDDD_work_place_in_county_DDD_if_has_the_worker.py

示例7: dependencies

 def dependencies(self):
     return [attribute_label("gridcell", self.gc_wauh_to_work_ai_1),
             attribute_label("gridcell", self.gc_wauh_to_work_ai_2),
             attribute_label("gridcell", self.gc_wauh_to_work_ai_3),
             attribute_label("gridcell", self.gc_wauh_to_work_ai_4),
             attribute_label("household", self.hh_income_1),
             attribute_label("household", self.hh_income_2),
             attribute_label("household", self.hh_income_3),
             attribute_label("household", self.hh_income_4)
             ]
开发者ID:christianurich,项目名称:VIBe2UrbanSim,代码行数:10,代码来源:trip_weighted_average_utility_hbw_to_work_am_income.py

示例8: dependencies

 def dependencies(self):
     return [attribute_label("neighborhood", "ln_price"), 
             attribute_label("household", "medinc")]
开发者ID:christianurich,项目名称:VIBe2UrbanSim,代码行数:3,代码来源:inc_lnprice.py

示例9: dependencies

 def dependencies(self):
     return [attribute_label("building", "building_age"), attribute_label("building", "grid_id")]
开发者ID:psrc,项目名称:urbansim,代码行数:2,代码来源:n_recent_buildings.py

示例10: dependencies

 def dependencies(self):
     return [attribute_label("job", self.is_commercial), 
             attribute_label("job", "zone_id")]
开发者ID:psrc,项目名称:urbansim,代码行数:3,代码来源:number_of_commercial_jobs.py

示例11: my_attribute_label

def my_attribute_label(attribute_name):
    """Return a triple (package, dataset_name, attribute_name).
    """
    return attribute_label("development_project", attribute_name)
开发者ID:christianurich,项目名称:VIBe2UrbanSim,代码行数:4,代码来源:variable_functions.py

示例12: dependencies

 def dependencies(self):
     return [attribute_label("household", self.is_mid_income), 
             attribute_label("household", "grid_id"), 
             my_attribute_label("grid_id")]
开发者ID:christianurich,项目名称:VIBe2UrbanSim,代码行数:4,代码来源:number_of_mid_income_households.py

示例13: dependencies

 def dependencies(self):
     return ["psrc.parcel.%s" % self.is_in_city,
             attribute_label("household", self.hh_income)]
开发者ID:christianurich,项目名称:VIBe2UrbanSim,代码行数:3,代码来源:income_and_is_in_city_SSS.py

示例14: dependencies

 def dependencies(self):
     return [attribute_label("gridcell", "zone_id"), 
             my_attribute_label("zone_id")]
开发者ID:psrc,项目名称:urbansim,代码行数:3,代码来源:number_of_gridcells.py

示例15: dependencies

 def dependencies(self):
     return [attribute_label("gridcell", "region_id"),
             attribute_label("gridcell", "population"),
             attribute_label("gridcell", "is_outside_urban_growth_boundary")]
开发者ID:christianurich,项目名称:VIBe2UrbanSim,代码行数:4,代码来源:population_outside_ugb.py


注:本文中的urbansim.functions.attribute_label函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。