edgebundles.io
Interface DataReader

public interface DataReader

Title: Data Reader Interface

Description: Reads a data set data provider.

Copyright: Copyright (c) 2007

Company:

Version:
1.0
Author:
Bilal Alsallakh
Method Detail

getNodesCount

int getNodesCount()
returns the number of nodes in the tree stored in the data provider
Returns:
int

getParent

int getParent(int node)
returns the index of the parent of the ith node, in the nodes list
Returns:
int

getAdjacentNodes

int[] getAdjacentNodes(int node)
returns the indices of the adjacent nodes of a given node
Returns:
int