Beispiel #1
0
 public AEdgeModel(AVertexModel source, AVertexModel stock, string weight)
     : base(ServiceFunctions.EdgeRepresentation(source.VertexStr, stock.VertexStr))
 {
     StringRepresent = weight;
     Source          = source;
     Stock           = stock;
     Weight          = weight;
     Weighted        = weight != null;
 }
Beispiel #2
0
 public NonOrientEdgeModel(AVertexModel source, AVertexModel stock, string weight)
     : base(source, stock, weight)
 {
     RefreshPos();
 }