Interface TrainingDataStore

All Known Implementing Classes:
FileTrainingStore

public interface TrainingDataStore
Storage for whistle classifier training data. NB this class if for a single storage unit, such as a file.
Author:
Doug Gillespie
  • Method Details

    • openStore

      boolean openStore(String storeName)
      Open store for writing
      Parameters:
      storeName - name
      Returns:
      true if open
    • closeStore

      boolean closeStore()
      Close store for writing
      Returns:
      true if OK
    • writeData

      boolean writeData(TrainingDataSet trainingDataSet)
      Write data to the opened store
      Parameters:
      trainingDataSet - data to write
      Returns:
      true if OK
    • readData

      TrainingDataSet readData(String storeName)
      Open, read data and close a data store
      Parameters:
      storeName - store name
      Returns:
      reference to TrainingDataSet
      See Also:
    • isStoreOk

      boolean isStoreOk()
      IS a store correctly opened.
      Returns:
      true if ok