Class ShortConnection
Tries to find a good solution for the (metric) "travelling salesman problem". This is still prliminary and may change in future.
Inheritance
System.Object
ShortConnection
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: CADability
Assembly: CADability.dll
Syntax
public class ShortConnection
Constructors
| Improve this Doc View SourceShortConnection(GeoPoint2D[], Object[], Int32, Int32)
Declaration
public ShortConnection(GeoPoint2D[] points, object[] tags, int startWith, int endWith)
Parameters
| Type | Name | Description |
|---|---|---|
| GeoPoint2D[] | points | |
| System.Object[] | tags | |
| System.Int32 | startWith | |
| System.Int32 | endWith |
Methods
| Improve this Doc View SourceGetRoutet()
Declaration
public object[] GetRoutet()
Returns
| Type | Description |
|---|---|
| System.Object[] |
SetFixedConnection(Int32[], Boolean)
Declaration
public void SetFixedConnection(int[] fixedPairs, bool mayReverse)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32[] | fixedPairs | |
| System.Boolean | mayReverse |