N - Final node typepublic static class AbstractLayout3DPC.AbstractNode<N extends AbstractLayout3DPC.AbstractNode<N>> extends java.lang.Object implements Layout.Node
| Modifier and Type | Field and Description |
|---|---|
java.util.List<N> |
children
Children
|
int |
dim
Dimension represented by this node.
|
double |
x
Coordinates
|
double |
y
Coordinates
|
| Constructor and Description |
|---|
AbstractNode(int dim,
java.util.List<N> children)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
N |
getChild(int off)
Get a child node.
|
int |
getDim()
Get the dimension represented by this node.
|
double |
getX()
Get layout X position.
|
double |
getY()
Get layout Y position.
|
int |
numChildren()
Get the number of children.
|
public int dim
public double x
public double y
public java.util.List<N extends AbstractLayout3DPC.AbstractNode<N>> children
public AbstractNode(int dim,
java.util.List<N> children)
dim - Dimension numberchildren - Childrenpublic int getDim()
Layout.NodegetDim in interface Layout.Nodepublic double getX()
Layout.NodegetX in interface Layout.Nodepublic double getY()
Layout.NodegetY in interface Layout.Nodepublic N getChild(int off)
Layout.NodegetChild in interface Layout.Nodeoff - offsetpublic int numChildren()
Layout.NodenumChildren in interface Layout.NodeCopyright © 2019 ELKI Development Team. License information.