org.encog.engine.data
Interface EngineIndexableSet

All Superinterfaces:
EngineDataSet
All Known Subinterfaces:
Indexable
All Known Implementing Classes:
BasicEngineDataSet, BasicNeuralDataSet, BufferedNeuralDataSet, FoldedDataSet, ImageNeuralDataSet, MarketNeuralDataSet, TemporalNeuralDataSet

public interface EngineIndexableSet
extends EngineDataSet

Specifies that a data set can be accessed in random order via an index. This property is required for multi-threaded training.


Method Summary
 void getRecord(long index, EngineData pair)
          Read an individual record, specified by index, in random order.
 long getRecordCount()
          Determine the total number of records in the set.
 EngineIndexableSet openAdditional()
          Opens an additional instance of this dataset.
 
Methods inherited from interface org.encog.engine.data.EngineDataSet
getIdealSize, getInputSize, isSupervised
 

Method Detail

getRecordCount

long getRecordCount()
Determine the total number of records in the set.

Returns:
The total number of records in the set.

getRecord

void getRecord(long index,
               EngineData pair)
Read an individual record, specified by index, in random order.

Parameters:
index - The index to read.
pair - The pair that the record will be copied into.

openAdditional

EngineIndexableSet openAdditional()
Opens an additional instance of this dataset.

Returns:
The new instance.


Copyright © 2011. All Rights Reserved.