public class IndexedForest extends Object
Constructor and Description |
---|
IndexedForest(Forest forest) |
Modifier and Type | Method and Description |
---|---|
int |
depth(int idx) |
Forest |
getForest() |
int |
parent(int idx) |
long |
row(int idx) |
com.almworks.integers.LongIterator |
rows(com.almworks.integers.IntIterator indices) |
int |
size() |
int |
subtreeEnd(int idx) |
public IndexedForest(Forest forest)
public int subtreeEnd(int idx)
public int parent(int idx)
public int depth(int idx)
public long row(int idx)
public com.almworks.integers.LongIterator rows(com.almworks.integers.IntIterator indices)
public int size()
public Forest getForest()
Copyright © 2019 ALM Works. All Rights Reserved.