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.Node
getDim
in interface Layout.Node
public double getX()
Layout.Node
getX
in interface Layout.Node
public double getY()
Layout.Node
getY
in interface Layout.Node
public N getChild(int off)
Layout.Node
getChild
in interface Layout.Node
off
- offsetpublic int numChildren()
Layout.Node
numChildren
in interface Layout.Node
Copyright © 2019 ELKI Development Team. License information.