Beispiel #1
0
        public override bool Equals(object o)
        {
            if (o == this)
            {
                return(true);
            }
            if (!(o is VarVersionEdge))
            {
                return(false);
            }
            VarVersionEdge edge = (VarVersionEdge)o;

            return(type == edge.type && source == edge.source && dest == edge.dest);
        }
Beispiel #2
0
 public virtual void AddPredecessor(VarVersionEdge edge)
 {
     preds.Add(edge);
 }
Beispiel #3
0
 public virtual void AddSuccessor(VarVersionEdge edge)
 {
     succs.Add(edge);
 }
Beispiel #4
0
 public virtual void RemovePredecessor(VarVersionEdge edge)
 {
     preds.Remove(edge);
 }
Beispiel #5
0
 public virtual void RemoveSuccessor(VarVersionEdge edge)
 {
     succs.Remove(edge);
 }