2
* This file is licensed to You under the "Simplified BSD License".
3
* You may not use this software except in compliance with the License.
4
* You may obtain a copy of the License at
6
* http://www.opensource.org/licenses/bsd-license.php
8
* See the COPYRIGHT file distributed with this work for information
9
* regarding copyright ownership.
11
package ch.usi.inf.sape.hac.dendrogram;
15
* An ObservationNode represents a leaf node in a Dendrogram.
16
* It corresponds to a singleton cluster of one observation.
18
* @author Matthias.Hauswirth@usi.ch
20
public final class ObservationNode implements DendrogramNode {
22
private final int observation;
25
public ObservationNode(final int observation) {
26
this.observation = observation;
29
public final DendrogramNode getLeft() {
33
public final DendrogramNode getRight() {
37
public int getObservationCount() {
41
public final int getObservation() {
b'\\ No newline at end of file'