Table of Contents

Class ShortConnection

Namespace
CADability
Assembly
CADability.dll

Tries to find a good solution for the (metric) "travelling salesman problem". This is still prliminary and may change in future.

public class ShortConnection
Inheritance
ShortConnection
Inherited Members

Constructors

ShortConnection(GeoPoint2D[], object[], int, int)

public ShortConnection(GeoPoint2D[] points, object[] tags, int startWith, int endWith)

Parameters

points GeoPoint2D[]
tags object[]
startWith int
endWith int

Methods

GetRoutet()

public object[] GetRoutet()

Returns

object[]

SetFixedConnection(int[], bool)

public void SetFixedConnection(int[] fixedPairs, bool mayReverse)

Parameters

fixedPairs int[]
mayReverse bool