edu.uiuc.ge.illigal.gale.data
Interface OrderedSet

All Known Implementing Classes:
CVView, DataView, FoldView, InstanceSet, RandomSamplingDataView

public interface OrderedSet

This interface defines an uniform access to the data of an ordered set.

Since:
0.9alpha
Version:
0.9alpha
Author:
Xavier Llorà <xllora@illigal.ge.uiuc.edu>

Method Summary
 edu.uiuc.ge.illigal.gale.data.Instance getInstance(int iPos)
          Returns the instance for the given position
 int getSize()
          Returns the number of instances in the OrderedSet
 

Method Detail

getInstance

public edu.uiuc.ge.illigal.gale.data.Instance getInstance(int iPos)
Returns the instance for the given position

Parameters:
iPos - Index of the requested instance
Returns:
The value of the requested index

getSize

public int getSize()
Returns the number of instances in the OrderedSet

Returns:
The number of instances