|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace RouteEngine
{
public class Connection
{
Location _a, _b;
int _weight;
bool selected=false;
public bool Selected
{
get { return selected; }
set { selected = value; }
}
public Connection(Location a, Location b, int weight)
{
this._a = a;
this._b = b;
this._weight = weight;
}
public Location B
{
get { return _b; }
set { _b = value; }
}
public Location A
{
get { return _a; }
set { _a = value; }
}
public int Weight
{
get { return _weight; }
set { _weight = value; }
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.