Method | Description | |
---|---|---|
AddEdge ( IEdge edge ) : void |
Inserts the Edge object to the Graph. Connecting IVertex objects should already be present in the graph before attempting to add a connection.
|
|
AddEdges ( IEnumerable |
Inserts the enumerable of Edge objects to the Graph. Connecting IVertex objects should already be present in the graph before attempting to add a connection.
|
|
AddVertex ( IVertex v ) : void |
Adds the specified IVertex to the current Graph.
|
|
AddVertices ( IEnumerable |
Adds the enumerable of IVertex objects to the current Graph.
|
|
ContainsVertex ( IVertex v ) : bool |
Returns True if the specified vertex exists in the graph.
|
|
Equals ( object obj ) : bool |
Determines whether the current Graph is equal to the specified Graph object.
|
|
GetChildren ( IVertex v ) : IEnumerable |
Gets the child vertices for the specified IVertex object.
|
|
GetEdges ( ) : IEnumerable |
Returns all IEdge objects in the current graph.
|
|
GetHashCode ( ) : int |
Returns the hash code for this Graph object.
|
|
GetInEdges ( IVertex v ) : IEnumerable |
Gets the afferent or inbound connections for the specified IVertex object.
|
|
GetOutEdges ( IVertex v ) : IEnumerable |
Gets the efferent or outbound connections for the specified IVertex object.
|
|
GetParents ( IVertex v ) : IEnumerable |
Gets the parent vertices for the specified IVertex object.
|
|
GetVertex ( int id ) : IVertex |
Gets the IVertex associated with the specified identifier.
|
|
GetVertices ( ) : IEnumerable |
Returns all IVertex objects in the current graph.
|
|
Graph ( ) : System |
Initializes a new Graph.
|
|
RemoveEdge ( IEdge edge ) : void |
Removes the Edge object from the graph.
|
|
RemoveVertex ( IVertex v ) : void |
Removes the specified Vertex and its associated edges from the Graph.
|
|
this ( int id ) : IVertex |
Gets the IVertex by the specified Id.
|
public AddEdge ( IEdge edge ) : void | ||
edge | IEdge | IEdge object to add. |
return | void |
public AddEdges ( IEnumerable |
||
edges | IEnumerable |
Collection of IEdge objects to add. |
return | void |
public AddVertex ( IVertex v ) : void | ||
v | IVertex | IVertex object to add. |
return | void |
public AddVertices ( IEnumerable |
||
vertices | IEnumerable |
Collection of IVertex objects to add. |
return | void |
public ContainsVertex ( IVertex v ) : bool | ||
v | IVertex | IVertex to check exists. |
return | bool |
public GetChildren ( IVertex v ) : IEnumerable |
||
v | IVertex | IVertex object to return child vertices for. |
return | IEnumerable |
public GetInEdges ( IVertex v ) : IEnumerable |
||
v | IVertex | IVertex object to return edges for. |
return | IEnumerable |
public GetOutEdges ( IVertex v ) : IEnumerable |
||
v | IVertex | IVertex object to return edges for. |
return | IEnumerable |
public GetParents ( IVertex v ) : IEnumerable |
||
v | IVertex | IVertex object to return parent vertices for. |
return | IEnumerable |
public GetVertex ( int id ) : IVertex | ||
id | int | Identifier of the IVertex to return. |
return | IVertex |
public RemoveEdge ( IEdge edge ) : void | ||
edge | IEdge | IEdge object to remove. |
return | void |
public RemoveVertex ( IVertex v ) : void | ||
v | IVertex | IVertex to remove. |
return | void |
public this ( int id ) : IVertex | ||
id | int | The key of the specified IVertex to return. |
return | IVertex |