public override bool Equals(object obj) { if (obj is OSPFAreaVertex) { OSPFAreaVertex oav = obj as OSPFAreaVertex; if (oav.iID == this.iID) { return(true); } } return(false); }
public Link(int iCost, OSPFAreaVertex vertexSource, OSPFAreaVertex vertexDestination) { this.iCost = iCost; this.vertexSource = vertexSource; this.vertexDestination = vertexDestination; }