All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ca.carleton.gcrc.couch.date.cluster.TreeNode Maven / Gradle / Ivy

There is a newer version: 2.2.7
Show newest version
package ca.carleton.gcrc.couch.date.cluster;

import java.util.List;

import ca.carleton.gcrc.couch.date.cluster.TreeInsertProcess.ResultImpl;
import ca.carleton.gcrc.couch.date.impl.NowReference;
import ca.carleton.gcrc.couch.date.impl.TimeInterval;

public interface TreeNode {

	int getClusterId();
	
	TimeInterval getInterval();

	long getMidPoint();
	
	TreeNode getLowChildNode();
	
	TreeNode getHighChildNode();
	
	void extendTo(TimeInterval interval) throws Exception;
	
	void accumulateClusterIdsFromInterval(
		TimeInterval interval, 
		List clusterIds, 
		NowReference now) throws Exception;
	
	void insertElement(
		TreeElement element, 
		ResultImpl result, 
		TreeOperations operations,
		NowReference now) throws Exception;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy