文件名称:shuyouguandao
介绍说明--下载内容均来自于网络,请自行研究使用
输油管道问题
某石油公司计划建造一条由东向西的主输油管道。该管道要穿过一个有n 口油井的油田。从每口油井都要有一条输油管道沿最短路经(或南或北)与主管道相连。如果给定n口油井的位置,即它们的x 坐标(东西向)和y 坐标(南北向),应如何确定主管道的最优位置,即使各油井到主管道之间的输油管道长度总和最小的位置? 编程任务: 给定n 口油井的位置,编程计算各油井到主管道之间的输油管道最小长度总和。-An oil pipeline plans to build a problem from east to west from the main pipeline. The pipeline to pass through a field of n wells. From each of the wells must have a pipeline along the shortest path (or south or north) is connected with the main channel. If a given n the location of wells, that is, their x coordinates (east-west) and y coordinates (north-south), how to determine the optimal location of the main channel, even if the oil pipeline to the main road between the sum of the minimum length position? programming tasks: Given n the location of wells, each well programmed to calculate the main channel between the sum of the minimum length of the pipeline.
某石油公司计划建造一条由东向西的主输油管道。该管道要穿过一个有n 口油井的油田。从每口油井都要有一条输油管道沿最短路经(或南或北)与主管道相连。如果给定n口油井的位置,即它们的x 坐标(东西向)和y 坐标(南北向),应如何确定主管道的最优位置,即使各油井到主管道之间的输油管道长度总和最小的位置? 编程任务: 给定n 口油井的位置,编程计算各油井到主管道之间的输油管道最小长度总和。-An oil pipeline plans to build a problem from east to west from the main pipeline. The pipeline to pass through a field of n wells. From each of the wells must have a pipeline along the shortest path (or south or north) is connected with the main channel. If a given n the location of wells, that is, their x coordinates (east-west) and y coordinates (north-south), how to determine the optimal location of the main channel, even if the oil pipeline to the main road between the sum of the minimum length position? programming tasks: Given n the location of wells, each well programmed to calculate the main channel between the sum of the minimum length of the pipeline.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
shuyouguandao.cpp