Satsuma
a delicious .NET graph library
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Pages
Properties | List of all members
Satsuma.ITsp< TNode > Interface Template Reference

Interface to TSP solvers. More...

Inheritance diagram for Satsuma.ITsp< TNode >:
Satsuma.CheapestLinkTsp< TNode > Satsuma.InsertionTsp< TNode > Satsuma.Opt2Tsp< TNode >

Properties

IEnumerable< TNode > Tour [get]
 Returns the nodes present in the current tour in visiting order. More...
 
double TourCost [get]
 The cost of the current tour. More...
 

Detailed Description

Interface to TSP solvers.

Template Parameters
TNodeThe node type.

Definition at line 56 of file Tsp.cs.

Property Documentation

IEnumerable<TNode> Satsuma.ITsp< TNode >.Tour
get

Returns the nodes present in the current tour in visiting order.

If the tour is not empty, then its starting node is repeated at the end.

Definition at line 60 of file Tsp.cs.

double Satsuma.ITsp< TNode >.TourCost
get

The cost of the current tour.

Definition at line 62 of file Tsp.cs.


The documentation for this interface was generated from the following file: