本文整理汇总了Python中variable_functions.my_attribute_label函数的典型用法代码示例。如果您正苦于以下问题:Python my_attribute_label函数的具体用法?Python my_attribute_label怎么用?Python my_attribute_label使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了my_attribute_label函数的14个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Python代码示例。
示例1: dependencies
def dependencies(self):
return [
my_attribute_label(self.number_of_industrial_jobs),
my_attribute_label(self.industrial_sqft_within_walking_distance),
my_attribute_label(self.number_of_industrial_jobs_wwd),
my_attribute_label(self.industrial_sqft),
]
开发者ID:psrc,项目名称:urbansim,代码行数:7,代码来源:industrial_sqft_per_job_within_walking_distance.py
示例2: dependencies
def dependencies(self):
deps = [my_attribute_label("x_coord_sp"),
my_attribute_label("y_coord_sp"),
self.quantity
]
if self.filter is not None:
deps.append(self.filter)
return deps
开发者ID:psrc,项目名称:urbansim,代码行数:8,代码来源:abstract_variable_within_radius_DDD_of_parcel.py
示例3: dependencies
def dependencies(self):
return [
"_units_proposed_in_proposal = development_project_proposal_component.disaggregate(urbansim_parcel.development_project_proposal.units_proposed)",
"_is_far_unit = development_project_proposal_component.disaggregate(urbansim_parcel.development_template.is_far)",
my_attribute_label("percent_building_sqft"),
my_attribute_label("building_sqft_per_unit"),
my_attribute_label("is_residential")
]
开发者ID:christianurich,项目名称:VIBe2UrbanSim,代码行数:8,代码来源:units_proposed.py
示例4: 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
示例5: 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
示例6: dependencies
def dependencies(self):
return [
my_attribute_label("units_proposed"),
"velocity_functions = velocity_function.annual_construction_schedule",
"minimum_units = velocity_function.minimum_units",
"maximum_units = velocity_function.maximum_units"
]
开发者ID:christianurich,项目名称:VIBe2UrbanSim,代码行数:7,代码来源:annual_construction_schedule.py
示例7: 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
示例8: dependencies
def dependencies(self):
return [my_attribute_label("zone_id"), "psrc.zone." + self.variable_name]
开发者ID:christianurich,项目名称:VIBe2UrbanSim,代码行数:2,代码来源:travel_time_hbw_am_drive_alone_to_DDD.py
示例9: dependencies
def dependencies(self):
return [my_attribute_label('number_of_surveyed_households')]
开发者ID:christianurich,项目名称:VIBe2UrbanSim,代码行数:2,代码来源:has_eg_DDD_surveyed_households.py
示例10: dependencies
def dependencies(self):
return [my_attribute_label("job_id"),
"person.job_id", "person.person_id"]
开发者ID:christianurich,项目名称:VIBe2UrbanSim,代码行数:3,代码来源:is_untaken.py
示例11: dependencies
def dependencies(self):
return [my_attribute_label(self.same_sector_jobs_in_faz)]
开发者ID:psrc,项目名称:urbansim,代码行数:2,代码来源:ln_same_sector_jobs_in_faz.py
示例12: dependencies
def dependencies(self):
return [my_attribute_label(self.year_built)]
开发者ID:christianurich,项目名称:VIBe2UrbanSim,代码行数:2,代码来源:has_valid_year_built.py
示例13: dependencies
def dependencies(self):
return [my_attribute_label(self.number_of_households), my_attribute_label(self.low_income)]
开发者ID:psrc,项目名称:urbansim,代码行数:2,代码来源:percent_low_income_households.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
注:本文中的variable_functions.my_attribute_label函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论