public interface IdDag<Id> extends IdGraph<Id>
Modifier and Type | Method and Description |
---|---|
IdDag<Id> |
ancestorIdGraph(Id id,
boolean inclusive)
Getting an id's ancestor id graph (its, parents' parents, and so on).
|
IdDag<Id> |
ancestorIdGraph(Set<Id> ids,
boolean inclusive)
Getting an id set's ancestor id graph (their parents, parents' parents, and so on).
|
Iterable<Id> |
breadthIdIterable()
A breadth first id iterable.
|
com.google.common.collect.ImmutableList<Id> |
breadthIdList()
A breadth first id list.
|
Iterable<Id> |
depthIdIterable()
A depth first id iterable.
|
com.google.common.collect.ImmutableList<Id> |
depthIdList()
A depth first id list.
|
IdDag<Id> |
descendantIdGraph(Id id,
boolean inclusive)
Getting an id's descendant id graph (its children, childrens' children, and so on).
|
IdDag<Id> |
descendantIdGraph(Set<Id> ids,
boolean inclusive)
Getting an id set's descendant id graph (their children, childrens' children, and so on).
|
IdDag<Id> |
filterIdGraph(Set<Id> ids)
Filter a graph by only keep the specified ids and arcs between these ids.
|
com.google.common.collect.ImmutableList<Id> |
topsortIdList()
A topologically sorted list of ids, with roots (sources) first.
|
ancestorIdIterable, ancestorIdIterable, ancestorIdSet, ancestorIdSet, assertIdsEqual, assertIdsEqual, childIdSet, containsCycle, descendantIdIterable, descendantIdIterable, descendantIdSet, descendantIdSet, id__childIds, id__parentIds, idSet, idSize, isAncestorOf, isChildOf, isDescendantOf, isLeaf, isParentOf, isRoot, leafIdSet, optionalTopsortIdList, parentIdSet, rootIdSet, traverseIdIterable, traverseIdIterable, traverseIdList, traverseIdList
IdDag<Id> filterIdGraph(Set<Id> ids)
IdGraph
filterIdGraph
in interface IdGraph<Id>
IdDag<Id> ancestorIdGraph(Id id, boolean inclusive)
IdGraph
ancestorIdGraph
in interface IdGraph<Id>
IdDag<Id> ancestorIdGraph(Set<Id> ids, boolean inclusive)
IdGraph
ancestorIdGraph
in interface IdGraph<Id>
IdDag<Id> descendantIdGraph(Id id, boolean inclusive)
IdGraph
descendantIdGraph
in interface IdGraph<Id>
IdDag<Id> descendantIdGraph(Set<Id> ids, boolean inclusive)
IdGraph
descendantIdGraph
in interface IdGraph<Id>
com.google.common.collect.ImmutableList<Id> topsortIdList()
com.google.common.collect.ImmutableList<Id> depthIdList()
com.google.common.collect.ImmutableList<Id> breadthIdList()
Copyright © 2014. All rights reserved.