本文整理汇总了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"),
]
示例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"),
]
示例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)
]
示例5: dependencies
def dependencies(self):
return [
"psrc.person.household_id",
"psrc.person." + self.var_name,
"psrc.person." + self.worker,
attribute_label("household", "household_id"),
]
示例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,
]
示例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")]
示例9: dependencies
def dependencies(self):
return [attribute_label("building", "building_age"), attribute_label("building", "grid_id")]
示例10: dependencies
def dependencies(self):
return [attribute_label("job", self.is_commercial),
attribute_label("job", "zone_id")]
示例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)
示例12: dependencies
def dependencies(self):
return [attribute_label("household", self.is_mid_income),
attribute_label("household", "grid_id"),
my_attribute_label("grid_id")]
示例13: dependencies
def dependencies(self):
return ["psrc.parcel.%s" % self.is_in_city,
attribute_label("household", self.hh_income)]
示例14: dependencies
def dependencies(self):
return [attribute_label("gridcell", "zone_id"),
my_attribute_label("zone_id")]
示例15: dependencies
def dependencies(self):
return [attribute_label("gridcell", "region_id"),
attribute_label("gridcell", "population"),
attribute_label("gridcell", "is_outside_urban_growth_boundary")]