GetShortestDistanceByPartToPart
Overloads
GetShortestDistanceByPartToPart(List<Node> node1, List<Node> node2, Single& distance)
public bool GetShortestDistanceByPartToPart(List<Node> node1, List<Node> node2, Single& distance)
지정된 노드간의 최단거리
Parameters
| Name | Type | Description |
|---|---|---|
| node1 | List<Node> | 노드 1 |
| node2 | List<Node> | 노드 2 |
| distance | Single& | 최단 거리 |
Returns
| Type | Description |
|---|---|
| bool | 결과 |
GetShortestDistanceByPartToPart(List<int> index1, List<int> index2, Single& distance)
public bool GetShortestDistanceByPartToPart(List<int> index1, List<int> index2, Single& distance)
지정된 노드 인덱스의 최단거리
Parameters
| Name | Type | Description |
|---|---|---|
| index1 | List<int> | 노드 인덱스 1 |
| index2 | List<int> | 노드 인덱스 2 |
| distance | Single& | 최단 거리 |
Returns
| Type | Description |
|---|---|
| bool | 결과 |
GetShortestDistanceByPartToPart(int[] index1, int[] index2, Single& distance)
public bool GetShortestDistanceByPartToPart(int[] index1, int[] index2, Single& distance)
지정된 노드 인덱스의 최단거리
Parameters
| Name | Type | Description |
|---|---|---|
| index1 | Int32[] | 노드 인덱스 1 |
| index2 | Int32[] | 노드 인덱스 2 |
| distance | Single& | 최단 거리 |
Returns
| Type | Description |
|---|---|
| bool | 결과 |