Class NonLeafNodeTrait<T>
java.lang.Object
kieker.analysis.generic.clustering.mtree.nodes.AbstractNodeTrait<T>
kieker.analysis.generic.clustering.mtree.nodes.NonLeafNodeTrait<T>
- Type Parameters:
T
- data element type
- All Implemented Interfaces:
ILeafness<T>
public class NonLeafNodeTrait<T> extends AbstractNodeTrait<T> implements ILeafness<T>
- Since:
- 2.0.0
- Author:
- Eduardo R. D'Avila
-
Field Summary
Fields inherited from class kieker.analysis.generic.clustering.mtree.nodes.AbstractNodeTrait
thisNode
-
Constructor Summary
Constructors Constructor Description NonLeafNodeTrait(AbstractNode<T> thisNode)
-
Method Summary
Modifier and Type Method Description void
addChild(IndexItem<T> inputNewChildNode, double inputDistance)
void
checkChildClass(IndexItem<T> child)
void
doAddData(T data, double distance)
boolean
doRemoveData(T data, double distance)
AbstractNode<T>
newSplitNodeReplacement(T data)
-
Constructor Details
-
Method Details
-
doAddData
- Specified by:
doAddData
in interfaceILeafness<T>
- Throws:
InternalErrorException
-
addChild
public void addChild(IndexItem<T> inputNewChildNode, double inputDistance) throws InternalErrorException- Specified by:
addChild
in interfaceILeafness<T>
- Throws:
InternalErrorException
-
newSplitNodeReplacement
- Specified by:
newSplitNodeReplacement
in interfaceILeafness<T>
-
doRemoveData
- Specified by:
doRemoveData
in interfaceILeafness<T>
- Throws:
InternalErrorException
-
checkChildClass
- Specified by:
checkChildClass
in interfaceILeafness<T>
-