TransportationAnalyst类参考
成员函数文档
- (TransportationAnalystCheckResult *) check |
对交通网络数据集和转向表进行数据检查,返回交通网络分析数据检查结果对象。
- (NSMutableArray *) computeWeightMatrix: | (TransportationAnalystParameter *) | parameter |
返回距离矩阵。
- (BOOL) createModel: | (NSString *) | fileName |
创建内存文件。
该接口需要在调用完load()接口后调用,可以生成对应load()的内存文件。
- (void) dispose |
- (TransportationAnalystResult *) findClosestFacility: | (TransportationAnalystParameter *) | parameter | ||
eventID: | (NSInteger) | eventID | ||
facilityCount: | (NSInteger) | facilityCount | ||
isFromEvent: | (BOOL) | isFromEvent | ||
maxWeight: | (double) | maxWeight | ||
根据指定的参数进行最近设施查找分析,事件点为结点 ID。
- (TransportationAnalystResult *) findClosestFacility: | (TransportationAnalystParameter *) | parameter | ||
eventPoint: | (Point2D *) | eventPoint | ||
facilityCount: | (NSInteger) | facilityCount | ||
isFromEvent: | (BOOL) | isFromEvent | ||
maxWeight: | (double) | maxWeight | ||
根据指定的参数进行最近设施查找分析,事件点为坐标点。
- (TransportationAnalystResult *) findMTSPPath: | (TransportationAnalystParameter *) | parameter | ||
centerNodes: | (NSMutableArray *) | centerNodes | ||
hasLeastTotalCost: | (BOOL) | hasLeastTotalCost | ||
多旅行商(物流配送)分析,配送中心为结点 ID 数组。
- (TransportationAnalystResult *) findMTSPPath: | (TransportationAnalystParameter *) | parameter | ||
centerPoints: | (Point2Ds *) | centerPoints | ||
hasLeastTotalCost: | (BOOL) | hasLeastTotalCost | ||
多旅行商(物流配送)分析,配送中心为点坐标串。
- (TransportationAnalystResult *) findPath: | (TransportationAnalystParameter *) | parameter | ||
hasLeastEdgeCount: | (BOOL) | hasLeastEdgeCount | ||
最佳路径分析。
- (ServiceAreaResult *) findServiceArea: | (TransportationAnalystParameter *) | parameter | ||
weights: | (NSMutableArray *) | weights | ||
isFromCenter: | (BOOL) | isFromCenter | ||
isCenterMutuallyExclusive: | (BOOL) | isCenterMutuallyExclusive | ||
服务区分析。
- (TransportationAnalystResult *) findTSPPath: | (TransportationAnalystParameter *) | parameter | ||
isEndNodeAssigned: | (BOOL) | isEndNodeAssigned | ||
旅行商分析。
- (BOOL) load |
加载网络模型。
- (BOOL) loadModelWithFilePath: | (NSString *) | filePath | ||
datasetVector: | (DatasetVector *) | networkDataset | ||
加载内存文件。
生成文件所用到的网络数据集需和该接口传入的网络数据集一样,否则加载会失败。
- (double) updateEdgeWeight: | (NSInteger) | edgeID | ||
fromNodeID: | (NSInteger) | fromNodeID | ||
toNodeID: | (NSInteger) | toNodeID | ||
weightName: | (NSString *) | weightName | ||
weight: | (double) | weight | ||
更新弧段的权值。
- (double) updateTurnNodeWeight: | (NSInteger) | nodeID | ||
fromEdgeID: | (NSInteger) | fromEdgeID | ||
toEdgeID: | (NSInteger) | toEdgeID | ||
turnWeightField: | (NSString *) | turnWeightField | ||
weight: | (double) | weight | ||
更新转向节点的权值。
属性文档
- (TransportationAnalystSetting*) analystSetting [read, write, retain] |
设置或获取交通网络分析环境设置对象。
该类的文档由以下文件生成:
版权所有©2005-2021 北京超图软件股份有限公司。保留所有权利。