public class RelationGraph extends Object
Constructor and Description |
---|
RelationGraph(boolean storeSimpleRelations,
boolean undirected) |
Modifier and Type | Method and Description |
---|---|
void |
build(Collection<OsmRelation> relations) |
void |
build(OsmIterator iterator) |
List<Group> |
buildGroups() |
List<Group> |
buildGroupsDirected() |
List<Group> |
buildGroupsUndirected() |
Graph<Long> |
getGraph() |
TLongSet |
getIdsHasChildRelations() |
TLongSet |
getIdsIsChildRelation() |
TLongSet |
getIdsSimpleRelations() |
int |
getNumNoChildren() |
public RelationGraph(boolean storeSimpleRelations, boolean undirected)
public void build(OsmIterator iterator) throws IOException
IOException
public void build(Collection<OsmRelation> relations) throws IOException
IOException
public int getNumNoChildren()
public TLongSet getIdsHasChildRelations()
public TLongSet getIdsIsChildRelation()
public TLongSet getIdsSimpleRelations()