nl.uu.cs.treewidth.graph
Class Edge<Data>

java.lang.Object
  extended by nl.uu.cs.treewidth.graph.Edge<Data>
Type Parameters:
Data -

Deprecated.

@Deprecated
public class Edge<Data>
extends java.lang.Object

Deprecated! Use the NGraph instead.

An edge in the standard Graph datastructure.

Author:
tw team
See Also:
Graph

Field Summary
 Vertex<Data> a
          Deprecated. An endpoint of the edge.
 Vertex<Data> b
          Deprecated. An endpoint of the edge.
 
Constructor Summary
Edge(Vertex<Data> v1, Vertex<Data> v2)
          Deprecated. An edge from v1 to v2.
 
Method Summary
 Vertex<Data> other(Vertex<Data> from)
          Deprecated. Useful for `getting to the other side' of an edge.
 java.lang.String toString()
          Deprecated.  
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

a

public Vertex<Data> a
Deprecated. 
An endpoint of the edge. The difference between a and b has no meaning.

See Also:
other(nl.uu.cs.treewidth.graph.Vertex)

b

public Vertex<Data> b
Deprecated. 
An endpoint of the edge. The difference between a and b has no meaning.

See Also:
other(nl.uu.cs.treewidth.graph.Vertex)
Constructor Detail

Edge

public Edge(Vertex<Data> v1,
            Vertex<Data> v2)
Deprecated. 
An edge from v1 to v2.

Parameters:
v1 -
v2 -
Method Detail

other

public Vertex<Data> other(Vertex<Data> from)
Deprecated. 
Useful for `getting to the other side' of an edge.
(TODO maybe give an example.)

Parameters:
from - Should be one of the two endpoints of the edge.
Returns:
An endpoint of the edge which is not from.

toString

public java.lang.String toString()
Deprecated. 
Overrides:
toString in class java.lang.Object