コード例 #1
0
 protected BaseVertexCost() : this(CostRange.GetRandomValueFromRange())
 {
 }
コード例 #2
0
 /// <summary>
 /// Creates a new instance of
 /// <see cref="WeightableVertexCost"/>
 /// with random cost.
 /// Weighted cost is set to the same value
 /// </summary>
 public WeightableVertexCost()
     : this(CostRange.GetRandomValueFromRange())
 {
 }