forked from sbromberger/LightGraphs.jl
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
doc cleanup file hierarchy docs changes to is_directed
- Loading branch information
1 parent
e3c8b21
commit 031c283
Showing
34 changed files
with
203 additions
and
120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,38 @@ | ||
*LightGraphs.jl* implements the following graph operators. In general, functions with two graph arguments will require them to be of the same type (either both `Graph` or both `DiGraph`). | ||
*LightGraphs.jl* implements the following graph operators. In general, | ||
functions with two graph arguments will require them to be of the same type | ||
(either both `Graph` or both `DiGraph`). | ||
|
||
`complement(g)` | ||
Produces the [graph complement](https://en.wikipedia.org/wiki/Complement_graph) of a graph. | ||
Produces the [graph complement](https://en.wikipedia.org/wiki/Complement_graph) | ||
of a graph. | ||
|
||
`reverse(g)` | ||
(`DiGraph` only) Produces a graph where all edges are reversed from the original. | ||
(`DiGraph` only) Produces a graph where all edges are reversed from the | ||
original. | ||
|
||
`reverse!(g)` | ||
(`DiGraph` only) In-place reverse (modifies the original graph). | ||
|
||
`blkdiag(g, h)` | ||
Produces a graph with `|V(g)| + |V(h)|` vertices and `|E(g)| + |E(h)|` edges. Put simply, the vertices and edges from graph `h` are appended to graph `g`. | ||
Produces a graph with `|V(g)| + |V(h)|` vertices and `|E(g)| + |E(h)|` edges. | ||
Put simply, the vertices and edges from graph `h` are appended to graph `g`. | ||
|
||
`intersect(g, h)` | ||
Produces a graph with edges that are only in both graph `g` and graph `h`. Note that this function may produce a graph with 0-degree vertices. | ||
Produces a graph with edges that are only in both graph `g` and graph `h`. Note | ||
that this function may produce a graph with 0-degree vertices. | ||
|
||
`difference(g, h)` | ||
Produces a graph with edges in graph `g` that are not in graph `h`. Note that this function may produce a graph with 0-degree vertices. | ||
Produces a graph with edges in graph `g` that are not in graph `h`. Note that | ||
this function may produce a graph with 0-degree vertices. | ||
|
||
`symmetric_difference(g, h)` | ||
Produces a graph with edges from graph `g` that do not exist in graph `h`, and vice versa. Note that this function may produce a graph with 0-degree vertices. | ||
Produces a graph with edges from graph `g` that do not exist in graph `h`, and | ||
vice versa. Note that this function may produce a graph with 0-degree vertices. | ||
|
||
`union(g, h)` | ||
Merges graphs `g` and `h` by taking the set union of all vertices and edges. | ||
|
||
`induced_subgraph(g, vs)` | ||
`g[vs]` | ||
Filters graph `g` to include only the vertices present in the iterable argument `vs`. Returns the subgraph of `g` induced by `vs`. | ||
Filters graph `g` to include only the vertices present in the iterable argument | ||
`vs`. Returns the subgraph of `g` induced by `vs`. |
Oops, something went wrong.