Esempio n. 1
0
 /// <summary>
 /// Generate this object from basic node data and init list of links
 /// </summary>
 /// <param name="solvroCityNode">Basic node data</param>
 /// <param name="links">List of links this node is connected to</param>
 public SolvroCityGraphNode(SolvroCityNode solvroCityNode, List <SolvroCityGraphLink> links) : base(solvroCityNode)
 {
     //prevNode = null;
     Links = links;
     //Checked = false;
     weightSum = 0;
 }
Esempio n. 2
0
 /// <summary>
 /// Create this object from already existing node data
 /// </summary>
 /// <param name="solvroCityNode">Node data from which data should be copied</param>
 public SolvroCityNode(SolvroCityNode solvroCityNode)
 {
     id        = solvroCityNode.id;
     stop_name = solvroCityNode.stop_name;
 }