Exemplo n.º 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;
 }
Exemplo n.º 2
0
 public NonOrientEdgeModel(AVertexModel source, AVertexModel stock, string weight)
     : base(source, stock, weight)
 {
     RefreshPos();
 }