| Modifier and Type | Class and Description |
|---|---|
| public abstract static class | |
| public abstract static class | |
| public static interface | |
| public static interface | |
| public abstract static class | |
| public static class | |
| public static interface | |
| public static class |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static <N, R> R | |
| public static <N, R> R | dfs(@NotNull Collection<N> nodes, @NotNull DFS.
|
| public static <N, R> R | dfsFromNode(N node, @NotNull DFS.
|
| public static <N> void | |
| public static <N> void | |
| public static <N> Boolean | |
| public static <N> List | |
| public static <N> List |
| DFS | back to summary |
|---|---|
| public DFS() | |
| dfs | back to summary |
|---|---|
| public static <N, R> R dfs(@NotNull Collection<N> nodes, @NotNull DFS. | |
| dfs | back to summary |
|---|---|
| public static <N, R> R dfs(@NotNull Collection<N> nodes, @NotNull DFS. | |
| dfsFromNode | back to summary |
|---|---|
| public static <N, R> R dfsFromNode(N node, @NotNull DFS. | |
| dfsFromNode | back to summary |
|---|---|
| public static <N> void dfsFromNode(N node, @NotNull DFS. | |
| doDfs | back to summary |
|---|---|
| public static <N> void doDfs(N current, @NotNull DFS. | |
| ifAny | back to summary |
|---|---|
| public static <N> Boolean ifAny(@NotNull Collection<N> nodes, @NotNull DFS. | |
| topologicalOrder | back to summary |
|---|---|
| public static <N> List | |
| topologicalOrder | back to summary |
|---|---|
| public static <N> List | |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | afterChildren(N current)
Implements kotlin. |
| public boolean | beforeChildren(N current)
Implements kotlin. |
| AbstractNodeHandler | back to summary |
|---|---|
| public AbstractNodeHandler() | |
| afterChildren | back to summary |
|---|---|
| public void afterChildren(N current) Implements kotlin.
| |
| beforeChildren | back to summary |
|---|---|
| public boolean beforeChildren(N current) Implements kotlin.
| |
| Modifier and Type | Field and Description |
|---|---|
| protected final C |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public C |
| result | back to summary |
|---|---|
| protected final C result
| |
| CollectingNodeHandler | back to summary |
|---|---|
| protected CollectingNodeHandler(C result) | |
| result | back to summary |
|---|---|
| public C result() Implements kotlin. | |
| getNeighbors | back to summary |
|---|---|
public @NotNull Iterable
| |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public boolean | |
| public R |
| afterChildren | back to summary |
|---|---|
| public void afterChildren(N current) | |
| beforeChildren | back to summary |
|---|---|
| public boolean beforeChildren(N current) | |
| result | back to summary |
|---|---|
| public R result() | |
| Access | Constructor and Description |
|---|---|
| protected |
| NodeHandlerWithListResult | back to summary |
|---|---|
| protected NodeHandlerWithListResult() | |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void |
| TopologicalOrder | back to summary |
|---|---|
| public TopologicalOrder() | |
| afterChildren | back to summary |
|---|---|
| public void afterChildren(N current) Overrides kotlin. Implements kotlin.
| |
| Modifier and Type | Method and Description |
|---|---|
| public boolean |
| checkAndMarkVisited | back to summary |
|---|---|
| public boolean checkAndMarkVisited(N current) | |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | checkAndMarkVisited(N current)
Implements kotlin. |
| visited | back to summary |
|---|---|
| private final Set<N> visited | |
| VisitedWithSet | back to summary |
|---|---|
| public VisitedWithSet() | |
| VisitedWithSet | back to summary |
|---|---|
| public VisitedWithSet(@NotNull Set<N> visited) | |
| checkAndMarkVisited | back to summary |
|---|---|
| public boolean checkAndMarkVisited(N current) Implements kotlin.
| |