Returns the endpoint of the edge that is different from the given vertex
             (unless the edge represents a self-loop in which case it returns the same vertex).
 
Namespace: Algs4NetAssembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
 Syntax
Syntaxpublic int Other(
	int vertex
)
Parameters
- vertex
- Type: SystemInt32
 one endpoint of the edge
Return Value
Type: 
Int32the endpoint of the edge that is different from the given vertex
             (unless the edge represents a self-loop in which case it returns the same vertex)
 Exceptions
Exceptions See Also
See Also