org.neuroph.util.io
Interface InputAdapter

All Known Implementing Classes:
FileInputAdapter, InputStreamAdapter, JDBCInputAdapter, URLInputAdapter

public interface InputAdapter

Interface for reading neural network inputs from various data sources. Provides methods to read from and close data source.

Author:
Zoran Sevarac

Method Summary
 void close()
          Close data source after reading is finnished.
 double[] readInput()
          Reads input from data source and returns input for neural network as array of doubles.
 

Method Detail

readInput

double[] readInput()
Reads input from data source and returns input for neural network as array of doubles.

Returns:
neural network input as array of doubles

close

void close()
Close data source after reading is finnished. Free resources and perform cleanup.



Copyright © 2012. All Rights Reserved.